projects
/
bookreader.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ba08dc
)
Update title when receving edtion record from OL
author
Michael Ang
<mang@archive.org>
Tue, 30 Nov 2010 00:52:31 +0000
(
00:52
+0000)
committer
Michael Ang
<mang@archive.org>
Tue, 30 Nov 2010 00:52:31 +0000
(
00:52
+0000)
BookReader/BookReader.js
patch
|
blob
|
history
diff --git
a/BookReader/BookReader.js
b/BookReader/BookReader.js
index
ee32dfa
..
b499bf7
100644
(file)
--- a/
BookReader/BookReader.js
+++ b/
BookReader/BookReader.js
@@
-4545,6
+4545,7
@@
BookReader.prototype.gotOpenLibraryRecord = function(self, olObject) {
self.bookUrl = 'http://openlibrary.org' + olObject.key;
self.bookTitle = olObject['title'];
$('#BRreturn a').attr( {'href': self.bookUrl, 'title': "Go to this book's page on Open Library" } );
+ $('#BRreturn a').text(self.bookTitle);
$('#BookReader .logo').attr('title', 'Go to Open Library'); // i18n
$('#BRinfo').remove();