diff --git a/core/modules/views/src/Ajax/ReplaceTitleCommand.php b/core/modules/views/src/Ajax/ReplaceTitleCommand.php index 8972969..4d5bb63 100644 --- a/core/modules/views/src/Ajax/ReplaceTitleCommand.php +++ b/core/modules/views/src/Ajax/ReplaceTitleCommand.php @@ -39,7 +39,7 @@ public function __construct($title) { public function render() { return array( 'command' => 'viewsReplaceTitle', - 'selector' => $this->title, + 'title' => $this->title, ); } diff --git a/core/modules/views_ui/js/ajax.js b/core/modules/views_ui/js/ajax.js index e30b4c1..d0c6dfd 100644 --- a/core/modules/views_ui/js/ajax.js +++ b/core/modules/views_ui/js/ajax.js @@ -25,16 +25,9 @@ }; Drupal.AjaxCommands.prototype.viewsReplaceTitle = function (ajax, response, status) { - var doc = document; // For the