@element = options.element\r
\r
dom_id: () ->\r
- super() + '-' + @element.get('id') # use tab index\r
+ super() + '-' + @element.cid # use tab index\r
\r
class Editor.EditorModule.DockModule.TabModule.ElementBoardLabel extends Editor.EditorModule.DockModule.TabModule.BoardLabel\r
\r
super()\r
this.$el.removeClass('ui-corner-top')\r
this.$el.addClass('ui-corner-left z-label')\r
- _this = this\r
- this.$el.mouseover -> \r
- _this.element().trigger('active')\r
- this.$el.mouseout -> \r
- _this.element().trigger('inactive')\r
this\r
\r
add_label: () ->\r
item: @element(), \r
element_form: true, \r
submit: null, \r
- operators: @dock().editor().operators,\r
})\r
\r
render: () ->\r