mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-22 18:18:46 +02:00
N°6112 - Dashboard: Improve robustness by trimming dashlet ID returned by server
This commit is contained in:
@@ -345,7 +345,7 @@ $(function()
|
||||
oParams.dashletid = sTempDashletId;
|
||||
|
||||
$.post(this.options.new_dashletid_endpoint, oParams, function(data) {
|
||||
var sFinalDashletId = data;
|
||||
var sFinalDashletId = data.trim();
|
||||
me.add_dashlet_prepare(options, sFinalDashletId);
|
||||
});
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user