fnp
/
fnpeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
editor: handle invalid element passed to setCurrentElement better
[fnpeditor.git]
/
src
/
editor
/
views
/
dialog
/
dialog.js
diff --git
a/src/editor/views/dialog/dialog.js
b/src/editor/views/dialog/dialog.js
index
04d8f74
..
bad349d
100644
(file)
--- a/
src/editor/views/dialog/dialog.js
+++ b/
src/editor/views/dialog/dialog.js
@@
-1,6
+1,5
@@
define(function(require) {
define(function(require) {
- /* globals gettext */
'use strict';
var _ = require('libs/underscore'),
'use strict';
var _ = require('libs/underscore'),
@@
-27,8
+26,8
@@
define(function(require) {
},
show: function() {
this.setElement(this.template(_.extend({
},
show: function() {
this.setElement(this.template(_.extend({
- executeButtonText:
gettext('Submit')
,
- cancelButtonText:
gettext('Cancel')
+ executeButtonText:
null
,
+ cancelButtonText:
null
}, this.options)));
var body = this.$('.modal-body');
}, this.options)));
var body = this.$('.modal-body');