fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Poprawiony ostatni panel ("prawy").
[redakcja.git]
/
project
/
templates
/
explorer
/
panels
/
xmleditor.html
diff --git
a/project/templates/explorer/panels/xmleditor.html
b/project/templates/explorer/panels/xmleditor.html
index
fe1870e
..
7651ffb
100644
(file)
--- a/
project/templates/explorer/panels/xmleditor.html
+++ b/
project/templates/explorer/panels/xmleditor.html
@@
-45,7
+45,7
@@
panel_hooks = {
var pos = texteditor.cursorPosition();
texteditor.selectLines(pos.line, pos.character + tag.length + 2);
}
var pos = texteditor.cursorPosition();
texteditor.selectLines(pos.line, pos.character + tag.length + 2);
}
- $(document).trigger('panel:contentChanged',
panel
);
+ $(document).trigger('panel:contentChanged',
self
);
}
if ($(this).attr('p:key')) {
keys[$(this).attr('p:key')] = handler;
}
if ($(this).attr('p:key')) {
keys[$(this).attr('p:key')] = handler;
@@
-82,12
+82,11
@@
panel_hooks = {
},
},
- refresh: function(hn) {
- // TODO
- return true;
+ refresh: function() {
+ return false;
},
},
- saveInfo: function(
hn,
saveInfo) {
+ saveInfo: function(saveInfo) {
var myInfo = {
url: "{% url file_xml fpath %}",
postData: {
var myInfo = {
url: "{% url file_xml fpath %}",
postData: {