There was an error while loading. Please reload this page.
2 parents 75c0cc4 + 995008a commit fb41c36Copy full SHA for fb41c36
htdocs/protected/modules/syslog/views/logs/admin.php
@@ -20,10 +20,18 @@
20
return false;
21
});
22
$('body').on('click','#massackfilter',function(){
23
+nonempty=0;
24
+$('table tr.filters :input').each(function(key,value) {
25
+if(value.value!='')
26
+nonempty++;
27
+});
28
+if(nonempty==0 && !confirm('Are you sure you want to acknowledge with empty filters?'))
29
+{
30
+return false;
31
+}
32
data=$( 'table :input' ).serialize();
33
lnk=$(this).attr('href');
34
$.post(lnk,data,function(resp){ $.fn.yiiGridView.update('syslog-grid');window.location.href=resp;});
- //
35
36
37
" );
0 commit comments