summaryrefslogtreecommitdiffstats
path: root/static/functions/browse.js
diff options
context:
space:
mode:
authorWhat.CD <committer@what.cd>2011-08-09 21:03:28 +0000
committerWhat.CD <committer@what.cd>2011-08-09 21:03:28 +0000
commit6273679d49f2564c5f0fe99a406a5cedd9f6de88 (patch)
treeb589eb57f63583963d08d8c77bdaba825e9a0b7e /static/functions/browse.js
parent269d2b9a69f78c57972abff7c14326e49e38461f (diff)
downloadGazelle-6273679d49f2564c5f0fe99a406a5cedd9f6de88.zip
Gazelle-6273679d49f2564c5f0fe99a406a5cedd9f6de88.tar.gz
Gazelle-6273679d49f2564c5f0fe99a406a5cedd9f6de88.tar.bz2
86 changes from Wed Jul 27 01:50:24 2011 -0400 to Tue Aug 9 12:47:47 2011 -0400
fix typo I introduced in schedule.php Print to LAB_CHAN if sphinx connection fails nice bitcoin display Corrects [#] tag for Mono [hateradio] bitcoin donation Fix torrent unbookmarking upgraded sphinxapi.php to r2876 as the site is running r2902 Added options to block Tor, Opera Turbo and Opera Mini check for stale cache vanity house [clone00] bookmark almost anything [patapper] new torrent edit flags [rattvis] permissions stuff from patappatch c [BBCode] new [important] tag [DutchDude] Fixed images flowing past their boxes [hateradio] [BBCode] Tag for ordered lists. [hateradio] finally fixed that annoying textarea-resizing thing renamed temporary tables fixes http://what.cd/forums.php?action=viewthread&threadid=137432&page=1#post3408738 implements http://what.cd/forums.php?action=viewthread&threadid=122832 fixes http://what.cd/forums.php?action=viewthread&threadid=136553 fixes http://what.cd/forums.php?action=viewthread&threadid=112967 implements http://what.cd/forums.php?action=viewthread&threadid=110395
Diffstat (limited to 'static/functions/browse.js')
-rw-r--r--static/functions/browse.js27
1 files changed, 0 insertions, 27 deletions
diff --git a/static/functions/browse.js b/static/functions/browse.js
index 1afb991..d1e885a 100644
--- a/static/functions/browse.js
+++ b/static/functions/browse.js
@@ -151,33 +151,6 @@ function toggle_edition(groupid, editionid, lnk, event) {
if (event.preventDefault) { event.preventDefault(); } else { event.returnValue = false; }
}
-// Bookmarks
-function Bookmark(groupid,newname) {
- var lnk = $('#bookmarklink'+groupid).raw();
- lnk.setAttribute('newname', lnk.innerHTML);
- ajax.get("bookmarks.php?action=add&auth=" + authkey + "&groupid=" + groupid, function() {
- lnk.onclick = function() { unbookmark(groupid,this.getAttribute('newname')); return false; };
- lnk.innerHTML = newname;
- });
-}
-
-function unbookmark(groupid,newname) {
- if(window.location.pathname.indexOf('bookmarks.php') != -1) {
- ajax.get("bookmarks.php?action=remove&auth=" + authkey + "&groupid=" + groupid,function() {
- $('#group_' + groupid).remove();
- $('.groupid_' + groupid).remove();
- $('.image_group_' + groupid).remove();
- });
- } else {
- var lnk = $('#bookmarklink'+groupid).raw();
- lnk.setAttribute('newname', lnk.innerHTML);
- ajax.get("bookmarks.php?action=remove&auth=" + authkey + "&groupid=" + groupid, function() {
- lnk.onclick = function() { Bookmark(groupid,this.getAttribute('newname')); return false; };
- lnk.innerHTML = newname;
- });
- }
-}
-
// For /sections/torrents/browse.php (not browse2.php)
function Bitrate() {
$('#other_bitrate').raw().value = '';