fix: [dashboard:updating] Prevent sending multiple time the same save request[1;5D

pull/9677/head
Sami Mokaddem 2024-04-08 16:41:46 +02:00
parent 5235b9729c
commit 05be803393
No known key found for this signature in database
GPG Key ID: 164C473F627A06FA
3 changed files with 2 additions and 3 deletions

View File

@ -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';

View File

@ -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')

View File

@ -5411,7 +5411,6 @@ function submitDashboardAddWidget() {
}
);
$('#widget_' + (k+1)).attr('config', config);
saveDashboardState();
$('#last-element-counter').data('element-counter', (k+1));
},
complete: function(data) {