Dashboard re-engineering

SVN:trunk[2782]
This commit is contained in:
Romain Quetiez
2013-06-27 15:21:35 +00:00
parent 721a654152
commit 3ab539e2ba
11 changed files with 981 additions and 369 deletions

View File

@@ -123,8 +123,13 @@ $(function()
},
_remove_dashlet: function()
{
$('#dashlet_properties_'+this.options.dashlet_id).remove();
var iDashletId = this.options.dashlet_id;
var sDashletClass = this.options.dashlet_class;
var oContainer = this.element.parent();
$('#dashlet_properties_'+iDashletId).remove();
this.element.remove();
$('#event_bus').trigger('dashlet-removed', {'dashlet_id': iDashletId, 'dashlet_class': sDashletClass, 'container': oContainer});
}
});
});