Merge branch 'zuber-view-refactor'
[redakcja.git] / project / static / js / views / editor.js
index cd1c486..27b17cb 100644 (file)
@@ -12,10 +12,12 @@ var EditorView = View.extend({
     $('#action-quick-save', this.element).bind('click.editorview', this.quickSave.bind(this));
     $('#action-commit', this.element).bind('click.editorview', this.commit.bind(this));
     $('#action-update', this.element).bind('click.editorview', this.update.bind(this));
+    this.freeze('Ɓadowanie');
   },
   
   quickSave: function(event) {
     console.log('quickSave');
+    this.model.quickSave();
   },
   
   commit: function(event) {