]> source.dussan.org Git - jquery-ui.git/commitdiff
transfer: added optional className option
authorPaul Bakaus <paul.bakaus@googlemail.com>
Sun, 8 Jun 2008 15:39:12 +0000 (15:39 +0000)
committerPaul Bakaus <paul.bakaus@googlemail.com>
Sun, 8 Jun 2008 15:39:12 +0000 (15:39 +0000)
ui/effects.transfer.js

index 7812c4e2b10fbb54ba96016d16ee98f7a5d7f8a3..2bb9f4b18654d517e1fd3da99722cbe07e4d0854 100644 (file)
@@ -25,6 +25,7 @@ $.effects.transfer = function(o) {
                var target = $(o.options.to); // Find Target
                var position = el.offset();
                var transfer = $('<div class="ui-effects-transfer"></div>').appendTo(document.body);
+               if(o.options.className) transfer.addClass(o.options.className);
                
                // Set target css
                transfer.addClass(o.options.className);