fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Dodanie generowania podstawowego pliku VirtualHost.
[redakcja.git]
/
project
/
static
/
js
/
models.js
diff --git
a/project/static/js/models.js
b/project/static/js/models.js
index
c03aa1e
..
ab021f5
100644
(file)
--- a/
project/static/js/models.js
+++ b/
project/static/js/models.js
@@
-23,7
+23,15
@@
Editor.ToolbarButtonsModel = Editor.Model.extend({
}
},
}
},
- loadSucceeded: function(data) {
+ loadSucceeded: function(data)
+ {
+ // do some escaping
+ $.each(data, function() {
+ $.each(this.buttons, function() {
+ //do some lame escapes
+ this.tooltip = this.tooltip.replace(/"/g, """);
+ });
+ });
this.set('buttons', data);
}
});
this.set('buttons', data);
}
});