Exclude add-frame-button from sortable items in preview-film

This commit is contained in:
jdescottes 2013-06-20 00:05:23 +02:00
parent 6cb145ae34
commit 07ced5a3b2

View File

@ -94,10 +94,11 @@
* @private
*/
ns.PreviewFilmController.prototype.initDragndropBehavior_ = function () {
$("#preview-list").sortable({
placeholder: "preview-tile-drop-proxy",
update: $.proxy(this.onUpdate_, this)
update: $.proxy(this.onUpdate_, this),
items: "li:not(#add-frame-action)"
});
$("#preview-list").disableSelection();
};