mirror of https://github.com/MISP/MISP
fix: [dashboard:updating] Prevent sending multiple time the same save request[1;5D
parent
5235b9729c
commit
05be803393
|
@ -33,7 +33,7 @@ class AppController extends Controller
|
|||
|
||||
public $helpers = array('OrgImg', 'FontAwesome', 'UserName');
|
||||
|
||||
private $__queryVersion = '159';
|
||||
private $__queryVersion = '160';
|
||||
public $pyMispVersion = '2.4.188';
|
||||
public $phpmin = '7.2';
|
||||
public $phprec = '7.4';
|
||||
|
|
|
@ -23,7 +23,7 @@ $(function () {
|
|||
saveDashboardState();
|
||||
});
|
||||
grid.on('added', function(event, items) {
|
||||
resetDashboardGrid(grid);
|
||||
resetDashboardGrid(grid, false);
|
||||
});
|
||||
grid.on('gsresizestop', function(event, element) {
|
||||
$(element).find('.widgetContentInner').trigger('widget-resized')
|
||||
|
|
|
@ -5411,7 +5411,6 @@ function submitDashboardAddWidget() {
|
|||
}
|
||||
);
|
||||
$('#widget_' + (k+1)).attr('config', config);
|
||||
saveDashboardState();
|
||||
$('#last-element-counter').data('element-counter', (k+1));
|
||||
},
|
||||
complete: function(data) {
|
||||
|
|
Loading…
Reference in New Issue