mirror of
https://github.com/Cacti/cacti.git
synced 2026-11-08 21:16:17 +09:00
Prevent import and export buttons from disabling.
This commit is contained in:
1 parent
57e87c63a5
commit
0bad2f8963
2 files changed
+3
-3
No files matched your search
+2
-2
@@ -410,14 +410,14 @@ function applySkin() {
|
||||
theme = 'classic';
|
||||
|
||||
// debounce submits
|
||||
$('input[type="submit"], button[type="submit"]').click(function() {
|
||||
$('input[type="submit"], button[type="submit"]').not('.import, .export').click(function() {
|
||||
$(this).prop('disabled', true);
|
||||
});
|
||||
}else{
|
||||
$('input[type=submit], input[type=button]').button();
|
||||
|
||||
// debounce submits
|
||||
$('input[type="submit"], button[type="submit"]').click(function() {
|
||||
$('input[type="submit"], button[type="submit"]').not('.import, .export').click(function() {
|
||||
$(this).button('disable');
|
||||
});
|
||||
}
|
||||
|
||||
+1
-1
@@ -1108,7 +1108,7 @@ function form_save_button($cancel_url, $force_type = '', $key_field = 'id', $aja
|
||||
<td class='saveRow'>
|
||||
<input type='hidden' name='action' value='save'>
|
||||
<?php print $cancel_action;?>
|
||||
<input id='submit' type='submit' value='<?php print $alt;?>'>
|
||||
<input class='<?php print $force_type;?>' id='submit' type='submit' value='<?php print $alt;?>'>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
Reference in new issue
Block a user