handled ajax call for advanced search, handled permissions for advanced form display
This commit is contained in:
@ -52,7 +52,7 @@
|
||||
_isMembershipForm = _$body.is('.page-node-11186'), //$('body').is('.page-node-11187') || ,
|
||||
_isBreveMateriauNodePage = _$body.is('.node-type-breve') || _$body.is('.node-type-materiau'),
|
||||
// _isBreveMateriauNodePage = _themeSettings.page_callback == 'node_page_view' && (_themeSettings.node_type == 'materiau' || _themeSettings.node_type == 'breve'),
|
||||
_hasDoubleSearchForm = $('#block-materio-search-api-materio-search-api-search').length,
|
||||
_hasDoubleSearchForm = $('#block-materio-search-api-materio-search-api-search .msa-search').length && $('#block-materio-search-api-materio-search-api-search .msa-advanced-search').length,
|
||||
_resizeTimer,
|
||||
_max_480 = function(){ return (viewport().width < 479); },
|
||||
_480_768 = function(){ return ( !_max_480() && _max_768() ); },
|
||||
@ -1607,7 +1607,6 @@
|
||||
* Forms
|
||||
*/
|
||||
function initForms(){
|
||||
|
||||
$('#edit-searchfield:not(.processed)')
|
||||
.bind('focus', function(event) {
|
||||
var $this = $(this);
|
||||
@ -1624,7 +1623,7 @@
|
||||
})
|
||||
.addClass('processed');
|
||||
|
||||
hideLabelsFromRegisterForm();
|
||||
hideLabelsFromRegisterForm();
|
||||
};
|
||||
|
||||
function hideLabelsFromRegisterForm () {
|
||||
|
Reference in New Issue
Block a user