Decouple persistence manager from Designer.

This commit is contained in:
Paulo Veiga
2011-11-28 21:27:57 -03:00
parent fb1bc476bc
commit 410d3553b1
11 changed files with 255 additions and 150 deletions

View File

@@ -99,13 +99,12 @@ mindplot.DesignerKeyboard = new Class({
'ctrl+s' : function(event) {
event.preventDefault();
designer.save(null, true);
$('save').fireEvent('click');
},
'meta+s' : function(event) {
event.preventDefault();
designer.save(null, true);
$('save').fireEvent('click');
},
'ctrl+i' : function() {