aboutsummaryrefslogtreecommitdiffstats
path: root/demos/real-world/layout/demo.js
diff options
context:
space:
mode:
Diffstat (limited to 'demos/real-world/layout/demo.js')
-rw-r--r--demos/real-world/layout/demo.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/demos/real-world/layout/demo.js b/demos/real-world/layout/demo.js
index 191bee24b..3696c58d1 100644
--- a/demos/real-world/layout/demo.js
+++ b/demos/real-world/layout/demo.js
@@ -43,7 +43,7 @@
item.remove();
};
- function sortableChange(e, ui) {
+ function sortableChange(event, ui) {
if(ui.sender){
var w = ui.element.width();
ui.placeholder.width(w);
@@ -51,7 +51,7 @@
}
};
- function sortableUpdate(e, ui) {
+ function sortableUpdate(event, ui) {
if(ui.element[0].id == 'trashcan'){
emptyTrashCan(ui.item);
} else {
@@ -87,12 +87,12 @@
//placeholder: 'clone',
//placeholder: 'placeholder',
connectWith: els,
- start: function(e,ui) {
+ start: function(event,ui) {
ui.helper.css("width", ui.item.parent().width());
},
change: sortableChange,
update: sortableUpdate
- }).bind("sortreceive", function(e, ui) {
+ }).bind("sortreceive", function(event, ui) {
$(ui.item).removeClass('ui-draggable').find('dt').each(addControls);
});
$('#components > dl').draggable({