|
@@ -5,6 +5,10 @@
|
|
Drupal.behaviors.status= {
|
|
Drupal.behaviors.status= {
|
|
attach: function (context, settings) {
|
|
attach: function (context, settings) {
|
|
|
|
|
|
|
|
+ if (Drupal.AjaxCommands){
|
|
|
|
+ Drupal.AjaxCommands.prototype.viewsScrollTop = null;
|
|
|
|
+ }
|
|
|
|
+
|
|
Drupal.AjaxCommands.prototype.generatePreview = function(ajax, response, status) {
|
|
Drupal.AjaxCommands.prototype.generatePreview = function(ajax, response, status) {
|
|
|
|
|
|
if (validateUrl(response.url)) {
|
|
if (validateUrl(response.url)) {
|