fnp
/
redakcja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
59ff1b6
)
Poprawienie przycisku "wersja do druku"
author
Łukasz Rekucki
<lrekucki@gmail.com>
Fri, 9 Oct 2009 10:10:33 +0000
(12:10 +0200)
committer
Łukasz Rekucki
<lrekucki@gmail.com>
Fri, 9 Oct 2009 10:10:33 +0000
(12:10 +0200)
project/static/js/views/html.js
patch
|
blob
|
history
diff --git
a/project/static/js/views/html.js
b/project/static/js/views/html.js
index
ebdf90a
..
d9de492
100644
(file)
--- a/
project/static/js/views/html.js
+++ b/
project/static/js/views/html.js
@@
-46,6
+46,9
@@
var HTMLView = View.extend({
this._super();
this.$printLink = $('.html-print-link', this.element);
this._super();
this.$printLink = $('.html-print-link', this.element);
+ var base = this.$printLink.attr('ui:baseref');
+ this.$printLink.attr('href', base + "?revision=" + this.model.get('revision'));
+
this.element.bind('click', this.itemClicked.bind(this));
},
this.element.bind('click', this.itemClicked.bind(this));
},