fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Poprawienie nazwy zmiennej "availble_themes" -> "available_themes".
[redakcja.git]
/
platforma
/
static
/
js
/
views
/
xml.js
diff --git
a/platforma/static/js/views/xml.js
b/platforma/static/js/views/xml.js
old mode 100644
(file)
new mode 100755
(executable)
index
6f0b6fa
..
0dd5453
--- a/
platforma/static/js/views/xml.js
+++ b/
platforma/static/js/views/xml.js
@@
-8,8
+8,11
@@
var XMLView = View.extend({
buttonToolbar: null,
init: function(element, model, parent, template) {
buttonToolbar: null,
init: function(element, model, parent, template) {
- this._super(element, model, template);
+ var submodel = model.contentModels['xml'];
+ this._super(element, submodel, template);
+
this.parent = parent;
this.parent = parent;
+
this.buttonToolbar = new ButtonToolbarView(
$('.xmlview-toolbar', this.element),
this.model.toolbarButtonsModel, parent);
this.buttonToolbar = new ButtonToolbarView(
$('.xmlview-toolbar', this.element),
this.model.toolbarButtonsModel, parent);