security update core+modules
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
@@ -255,10 +255,11 @@ Drupal.behaviors.viewsUiRenderAddViewButton.attach = function (context, settings
|
||||
// away from the item. We use mouseleave instead of mouseout because
|
||||
// the user is going to trigger mouseout when she moves from the trigger
|
||||
// link to the sub menu items.
|
||||
// We use the live binder because the open class on this item will be
|
||||
//
|
||||
// We use the 'li.add' selector because the open class on this item will be
|
||||
// toggled on and off and we want the handler to take effect in the cases
|
||||
// that the class is present, but not when it isn't.
|
||||
$('li.add', $menu).live('mouseleave', function (event) {
|
||||
$menu.delegate('li.add', 'mouseleave', function (event) {
|
||||
var $this = $(this);
|
||||
var $trigger = $this.children('a[href="#"]');
|
||||
if ($this.children('.action-list').is(':visible')) {
|
||||
|
||||
Reference in New Issue
Block a user