diff options
| author | hukl <contact@smyck.org> | 2009-09-02 17:22:22 +0200 |
|---|---|---|
| committer | hukl <contact@smyck.org> | 2009-09-02 17:22:22 +0200 |
| commit | 282e64efcf5359541d0930ab5ba2c4b8f2654cd3 (patch) | |
| tree | ffd7c0ad2bfba39134480a36680c37dfd09f077b /public/javascripts | |
| parent | bc35983129412f98cecbe477c8c5bec51af917f7 (diff) | |
further interface improvements
Diffstat (limited to 'public/javascripts')
| -rw-r--r-- | public/javascripts/admin_interface.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/public/javascripts/admin_interface.js b/public/javascripts/admin_interface.js index c59979b..a78342e 100644 --- a/public/javascripts/admin_interface.js +++ b/public/javascripts/admin_interface.js | |||
| @@ -118,6 +118,17 @@ image_interface = { | |||
| 118 | current_images : "", | 118 | current_images : "", |
| 119 | 119 | ||
| 120 | initialize : function() { | 120 | initialize : function() { |
| 121 | $("#image_browser_toggle").bind("click", function(){ | ||
| 122 | if ($("#image_browser_toggle").attr("class") == "unselected") { | ||
| 123 | $("#image_browser_toggle").attr("class", "selected"); | ||
| 124 | } | ||
| 125 | else { | ||
| 126 | $("#image_browser_toggle").attr("class", "unselected"); | ||
| 127 | } | ||
| 128 | |||
| 129 | return false | ||
| 130 | }); | ||
| 131 | |||
| 121 | $("ul#image_box").sortable({ | 132 | $("ul#image_box").sortable({ |
| 122 | revert : true, | 133 | revert : true, |
| 123 | start : function(event, ui) { | 134 | start : function(event, ui) { |
