projects
/
bookreader.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ceb1ecd
)
Pass book params (page, view mode, etc) to OL contact form
author
Michael Ang
<mang@archive.org>
Tue, 30 Nov 2010 23:11:24 +0000
(23:11 +0000)
committer
Michael Ang
<mang@archive.org>
Tue, 30 Nov 2010 23:11:24 +0000
(23:11 +0000)
BookReaderIA/datanode/BookReaderJSIA.php
patch
|
blob
|
history
diff --git
a/BookReaderIA/datanode/BookReaderJSIA.php
b/BookReaderIA/datanode/BookReaderJSIA.php
index
0ae9e45
..
01e60ba
100644
(file)
--- a/
BookReaderIA/datanode/BookReaderJSIA.php
+++ b/
BookReaderIA/datanode/BookReaderJSIA.php
@@
-401,7
+401,8
@@
br.buildInfoDiv = function(jInfoDiv) {
}
jInfoDiv.find('.BRfloatTitle a').attr({'href': this.bookUrl, 'alt': this.bookTitle}).text(this.bookTitle);
- jInfoDiv.find('a.problem').attr('href','http://openlibrary.org/contact?path=' + window.location);
+ var bookPath = (window.location + '').replace('#','/');
+ jInfoDiv.find('a.problem').attr('href','http://openlibrary.org/contact?path=' + bookPath);
}