X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/e68778f27b18c21c23387d7609d825ab3a192af7..e5cc79a40d78c1832617d19186ca87ee9877ebfa:/src/editor/modules/data/dialog.js diff --git a/src/editor/modules/data/dialog.js b/src/editor/modules/data/dialog.js index 0ad87e5..a2c56e2 100644 --- a/src/editor/modules/data/dialog.js +++ b/src/editor/modules/data/dialog.js @@ -4,7 +4,7 @@ define(function(require) { var _ = require('libs/underscore'), Backbone = require('libs/backbone'), - saveDialogTemplate = require('libs/text!./dialog.html'), + dialogTemplate = require('libs/text!./dialog.html'), fieldTemplates = {}; fieldTemplates.checkbox = require('libs/text!./templates/checkbox.html'); fieldTemplates.select = require('libs/text!./templates/select.html'); @@ -14,7 +14,7 @@ define(function(require) { var DialogView = Backbone.View.extend({ - template: _.template(saveDialogTemplate), + template: _.template(dialogTemplate), events: { 'click .save-btn': 'onSave', 'click .cancel-btn': 'close',