fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
#1189: generate theme table for Redmine
[redakcja.git]
/
redakcja
/
static
/
js
/
wiki
/
wikiapi.js
diff --git
a/redakcja/static/js/wiki/wikiapi.js
b/redakcja/static/js/wiki/wikiapi.js
index
2a02891
..
4949f6b
100644
(file)
--- a/
redakcja/static/js/wiki/wikiapi.js
+++ b/
redakcja/static/js/wiki/wikiapi.js
@@
-59,7
+59,7
@@
*/
function WikiDocument(element_id) {
var meta = $('#' + element_id);
*/
function WikiDocument(element_id) {
var meta = $('#' + element_id);
- this.id = meta.attr('data-
book') + '/' + meta.attr('data-chunk
');
+ this.id = meta.attr('data-
chunk-id
');
this.revision = $("*[data-key='revision']", meta).text();
this.readonly = !!$("*[data-key='readonly']", meta).text();
this.revision = $("*[data-key='revision']", meta).text();
this.readonly = !!$("*[data-key='readonly']", meta).text();