|
@@ -428,12 +428,11 @@
|
|
// if(!_max_480() && !_touch ){
|
|
// if(!_max_480() && !_touch ){
|
|
height += $('#utilities').h();//+15;
|
|
height += $('#utilities').h();//+15;
|
|
// }
|
|
// }
|
|
-
|
|
|
|
//$('#main').css('margin-top', height+15);
|
|
//$('#main').css('margin-top', height+15);
|
|
// $('#container').css('padding-top', height+15);
|
|
// $('#container').css('padding-top', height+15);
|
|
|
|
|
|
if(!$('html').is(".ie8")){
|
|
if(!$('html').is(".ie8")){
|
|
- $('#container').animate({'padding-top':height}, 300);
|
|
|
|
|
|
+ $('#container').animate({'padding-top':height}, 150);
|
|
}
|
|
}
|
|
// }
|
|
// }
|
|
};
|
|
};
|
|
@@ -518,6 +517,16 @@
|
|
$(this).parents('.block').removeClass('hovered');
|
|
$(this).parents('.block').removeClass('hovered');
|
|
$('.hovered').not($(this).parents('.block')).removeClass('hovered');
|
|
$('.hovered').not($(this).parents('.block')).removeClass('hovered');
|
|
});
|
|
});
|
|
|
|
+
|
|
|
|
+ // @see http://www.jaypan.com/tutorial/calling-function-after-ajax-event-drupal-7
|
|
|
|
+ Drupal.ajax.prototype.commands.ajaxAfterAddedFilterLine = function(ajax, response, status){
|
|
|
|
+ // console.log('ajax after added filter line');
|
|
|
|
+ initLayout();
|
|
|
|
+ };
|
|
|
|
+ Drupal.ajax.prototype.commands.ajaxAfterRemovedFilterLine = function(ajax, response, status){
|
|
|
|
+ // console.log('ajax after removed filter line');
|
|
|
|
+ initLayout();
|
|
|
|
+ };
|
|
};
|
|
};
|
|
|
|
|
|
function onLoadingContent(event){
|
|
function onLoadingContent(event){
|