1 /*global View render_template panels */
 
   2 var EditorView = View.extend({
 
   3   _className: 'EditorView',
 
   8   init: function(element, model, template) {
 
   9     this._super(element, model, template);
 
  12     $('#action-quick-save', this.element).bind('click.editorview', this.quickSave.bind(this));
 
  13     $('#action-commit', this.element).bind('click.editorview', this.commit.bind(this));
 
  14     $('#action-update', this.element).bind('click.editorview', this.update.bind(this));
 
  17   quickSave: function(event) {
 
  18     console.log('quickSave');
 
  21   commit: function(event) {
 
  22     console.log('commit');
 
  25   update: function(event) {
 
  26     console.log('update');
 
  30     $('#action-quick-save', this.element).unbind('click.editorview');
 
  31     $('#action-commit', this.element).unbind('click.editorview');
 
  32     $('#action-update', this.element).unbind('click.editorview');