mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-18 16:18:47 +02:00
N°2735 Fix dashlet id duplicates when moving dashlet from one cell to another
This commit is contained in:
@@ -144,8 +144,8 @@ $(function()
|
||||
add_dashlet: function(options)
|
||||
{
|
||||
var $container = options.container,
|
||||
iNumberOfExistingDashletInCell = $container.children("div.dashlet").length,
|
||||
sTempDashletId = iNumberOfExistingDashletInCell+1;
|
||||
iNumberOfExistingDashletsInDashboard = $container.closest("table").find("div.dashlet").length,
|
||||
sTempDashletId = iNumberOfExistingDashletsInDashboard+1;
|
||||
|
||||
this.get_dashletid_ajax(options, sTempDashletId);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user