aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.sortable.js
diff options
context:
space:
mode:
authorjzaefferer <joern.zaefferer@gmail.com>2010-07-20 13:58:10 +0200
committerjzaefferer <joern.zaefferer@gmail.com>2010-07-20 13:58:10 +0200
commit88ec776178b62d21ac6e218946800b2d0c2b0b78 (patch)
tree32373be01cb84e71cfa698f78ac56d6d400632bc /ui/jquery.ui.sortable.js
parent4be0942af0d0a73541148899fbb2e0c406795c79 (diff)
parent5debdb08d7702e9c04b4efa883c68d350576d710 (diff)
downloadjquery-ui-88ec776178b62d21ac6e218946800b2d0c2b0b78.tar.gz
jquery-ui-88ec776178b62d21ac6e218946800b2d0c2b0b78.zip
Merge remote branch 'origin/master'
Diffstat (limited to 'ui/jquery.ui.sortable.js')
-rw-r--r--ui/jquery.ui.sortable.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/jquery.ui.sortable.js b/ui/jquery.ui.sortable.js
index a51f543c5..6cc2434e8 100644
--- a/ui/jquery.ui.sortable.js
+++ b/ui/jquery.ui.sortable.js
@@ -409,6 +409,10 @@ $.widget("ui.sortable", $.ui.mouse, {
if(res) str.push((o.key || res[1]+'[]')+'='+(o.key && o.expression ? res[1] : res[2]));
});
+ if(!str.length && o.key) {
+ str.push(o.key + '=');
+ }
+
return str.join('&');
},