diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-03-21 03:12:31 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-03-21 03:12:31 +0000 |
commit | a6bfd8f079a2e97f86a47023a59b22de79e89479 (patch) | |
tree | 99a89399836aeaa8341c8086dada30fcfb2fbaaf /lib | |
parent | 91a27b1e985b0e6a0de29db7bc03ac518920abd3 (diff) | |
download | ampache-a6bfd8f079a2e97f86a47023a59b22de79e89479.tar.gz ampache-a6bfd8f079a2e97f86a47023a59b22de79e89479.tar.bz2 ampache-a6bfd8f079a2e97f86a47023a59b22de79e89479.zip |
genre... we dont need no stinking genre.. we need them genreS fools
Diffstat (limited to 'lib')
-rw-r--r-- | lib/class/catalog.class.php | 2 | ||||
-rw-r--r-- | lib/general.js | 8 |
2 files changed, 9 insertions, 1 deletions
diff --git a/lib/class/catalog.class.php b/lib/class/catalog.class.php index 171e7745..5faa77ce 100644 --- a/lib/class/catalog.class.php +++ b/lib/class/catalog.class.php @@ -2178,7 +2178,7 @@ class Catalog { $this->clean_stats(); $this->clean_playlists(); $this->clean_flagged(); - $this->clean_genre(); + $this->clean_genres(); } // delete_catalog diff --git a/lib/general.js b/lib/general.js index 21db395e..9eebe02b 100644 --- a/lib/general.js +++ b/lib/general.js @@ -270,6 +270,14 @@ function update_txt(value,field) { document.getElementById(field).innerHTML=value; } +// SubmitToPage this function specificaly submits the form to the specified page +function SubmitToPage(form_id,action) { + + document.getElementById(form_id).action = action; + document.getElementById(form_id).submit(); + return true; +} + function popup_art(url) { var newwindow; newwindow=window.open(url, "ampache_art", "menubar=no,toolbar=no,location=no,directories=no"); |