sourceEditor.commitChanges();
}
sandbox.getModule('data').saveDocument();
+ },
+ 'cmd.drop-draft': function() {
+ sandbox.getModule('data').dropDraft();
}
};
logger.debug('Handling event ' + eventRepr);
eventHandlers[moduleName][eventName].apply(eventHandlers, args);
} else {
- logger.debug('No event handler for ' + eventRepr);
+ logger.warning('No event handler for ' + eventRepr);
}
}