PHRAS-834 - fix tasks dropdown menu

This commit is contained in:
Florian BLOUET
2015-11-26 18:05:56 +01:00
parent 3807b2f74c
commit 0621c3fe55
4 changed files with 8 additions and 4 deletions

View File

@@ -28,6 +28,7 @@ define([
$this._appendDom($this._createView(model));
});
$this._rendered = true;
$('.dropdown-toggle').dropdown();
return $this;
},
_addOne: function (task) {
@@ -36,6 +37,7 @@ define([
if (this._rendered) {
this._appendDom(view);
}
$('.dropdown-toggle').dropdown();
},
_createView: function (task) {
var view = new TaskView({ model: task });