mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-03-11 16:35:38 +00:00
do not show spinner if data-no-spinner is set in '<div ..'
This commit is contained in:
parent
77aa03c318
commit
fc90e71584
|
@ -367,6 +367,8 @@ $(document).ready( function() {
|
|||
}
|
||||
} else
|
||||
url = href;
|
||||
if(!element.data('no-spinner'))
|
||||
element.prepend('<div style="position: _absolute; overflow: hidden; background: #f7f7f7; z-index: 1000; height: 200px; width: '+element.width()+'px; opacity: 0.7; display: table;"><div style="display: table-cell;text-align: center; vertical-align: middle; "><img src="../views/bootstrap/images/ajax-loader.gif"></div>');
|
||||
$.get(url, function(data) {
|
||||
element.html(data);
|
||||
// $(".chzn-select").chosen();
|
||||
|
|
Loading…
Reference in New Issue
Block a user