fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Zmiana katalogu przeglądanego przez filebrowser na images oraz usunięcie wyświetlania...
[redakcja.git]
/
platforma
/
static
/
js
/
models.js
diff --git
a/platforma/static/js/models.js
b/platforma/static/js/models.js
index
7fdca39
..
ba2f3ce
100755
(executable)
--- a/
platforma/static/js/models.js
+++ b/
platforma/static/js/models.js
@@
-262,7
+262,7
@@
Editor.HTMLModel = Editor.Model.extend({
});
},
});
},
- putXMLPart: function(elem, data) {
+ putXMLPart: function(elem, data
, callback
) {
var self = this;
var path = elem.attr('x-pointer');
var self = this;
var path = elem.attr('x-pointer');
@@
-281,7
+281,7
@@
Editor.HTMLModel = Editor.Model.extend({
// format: 'nl'
},
success: function(htmldata) {
// format: 'nl'
},
success: function(htmldata) {
-
elem.html(
htmldata);
+
callback(elem,
htmldata);
self.set('state', 'dirty');
}
});
self.set('state', 'dirty');
}
});