@@ -69,7 +69,7 @@ Drupal.views.ajaxView = function(settings) {
|
||||
};
|
||||
|
||||
Drupal.views.ajaxView.prototype.attachExposedFormAjax = function() {
|
||||
var button = $('input[type=submit], input[type=image]', this.$exposed_form);
|
||||
var button = $('input[type=submit], button[type=submit], input[type=image]', this.$exposed_form);
|
||||
button = button[0];
|
||||
|
||||
this.exposedFormAjax = new Drupal.ajax($(button).attr('id'), button, this.element_settings);
|
||||
|
@@ -209,7 +209,7 @@ Drupal.viewsUi.addItemForm.prototype.handleCheck = function (event) {
|
||||
*/
|
||||
Drupal.viewsUi.addItemForm.prototype.refreshCheckedItems = function() {
|
||||
// Perhaps we should precache the text div, too.
|
||||
this.$selected_div.find('.views-selected-options').html(this.checkedItems.join(', '));
|
||||
this.$selected_div.find('.views-selected-options').html(Drupal.checkPlain(this.checkedItems.join(', ')));
|
||||
Drupal.viewsUi.resizeModal('', true);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user