fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixes to pull/push logic.
[redakcja.git]
/
platforma
/
static
/
js
/
models.js
diff --git
a/platforma/static/js/models.js
b/platforma/static/js/models.js
old mode 100644
(file)
new mode 100755
(executable)
index
f945238
..
ffaf999
--- a/
platforma/static/js/models.js
+++ b/
platforma/static/js/models.js
@@
-228,7
+228,7
@@
Editor.HTMLModel = Editor.Model.extend({
getXMLPart: function(elem, callback)
{
getXMLPart: function(elem, callback)
{
- var path = elem.attr('
wl2o:path
');
+ var path = elem.attr('
x-pointer
');
if(!this.xmlParts[path])
this.loadXMLPart(elem, callback);
else
if(!this.xmlParts[path])
this.loadXMLPart(elem, callback);
else
@@
-237,7
+237,7
@@
Editor.HTMLModel = Editor.Model.extend({
loadXMLPart: function(elem, callback)
{
loadXMLPart: function(elem, callback)
{
- var path = elem.attr('
wl2o:path
');
+ var path = elem.attr('
x-pointer
');
var self = this;
$.ajax({
var self = this;
$.ajax({
@@
-265,7
+265,7
@@
Editor.HTMLModel = Editor.Model.extend({
putXMLPart: function(elem, data) {
var self = this;
putXMLPart: function(elem, data) {
var self = this;
- var path = elem.attr('
wl2o:path
');
+ var path = elem.attr('
x-pointer
');
this.xmlParts[path] = data;
this.set('state', 'dirty');
this.xmlParts[path] = data;
this.set('state', 'dirty');