diff options
| author | hukl <contact@smyck.org> | 2009-09-02 15:55:32 +0200 |
|---|---|---|
| committer | hukl <contact@smyck.org> | 2009-09-02 15:55:32 +0200 |
| commit | bc35983129412f98cecbe477c8c5bec51af917f7 (patch) | |
| tree | ca160eef0b9fb113cfb1ebef147bca03b166958f | |
| parent | 4515facbab837cf89818d926011ce7e1f4e40661 (diff) | |
some drag and drop refinements
| -rw-r--r-- | app/views/nodes/edit.html.erb | 1 | ||||
| -rw-r--r-- | public/javascripts/admin_interface.js | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/app/views/nodes/edit.html.erb b/app/views/nodes/edit.html.erb index a8138c2..b598ec5 100644 --- a/app/views/nodes/edit.html.erb +++ b/app/views/nodes/edit.html.erb | |||
| @@ -44,7 +44,6 @@ | |||
| 44 | </li> | 44 | </li> |
| 45 | <% end %> | 45 | <% end %> |
| 46 | </ul> | 46 | </ul> |
| 47 | add image | ||
| 48 | </td> | 47 | </td> |
| 49 | </tr> | 48 | </tr> |
| 50 | </table> | 49 | </table> |
diff --git a/public/javascripts/admin_interface.js b/public/javascripts/admin_interface.js index fad468e..c59979b 100644 --- a/public/javascripts/admin_interface.js +++ b/public/javascripts/admin_interface.js | |||
| @@ -143,7 +143,7 @@ image_interface = { | |||
| 143 | 143 | ||
| 144 | $("ul#image_box").droppable({ | 144 | $("ul#image_box").droppable({ |
| 145 | out : function(event, ui) { | 145 | out : function(event, ui) { |
| 146 | $(ui.draggable).fadeTo("fast", 0.5); | 146 | $(ui.draggable).fadeTo("fast", 0.4); |
| 147 | 147 | ||
| 148 | $(ui.draggable).bind("mouseup", function() { | 148 | $(ui.draggable).bind("mouseup", function() { |
| 149 | $(this).remove(); | 149 | $(this).remove(); |
