From f84585a7fe3df915492dec27be891e40c0a0e7d6 Mon Sep 17 00:00:00 2001 From: Chi Cheng Date: Sun, 10 Aug 2008 09:57:12 +0000 Subject: [PATCH] functional demos: draggable : dragPrevention -> cancel --- demos/functional/templates/ui.draggable.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/demos/functional/templates/ui.draggable.html b/demos/functional/templates/ui.draggable.html index 94aca5774..703455e5d 100644 --- a/demos/functional/templates/ui.draggable.html +++ b/demos/functional/templates/ui.draggable.html @@ -63,12 +63,12 @@ { title: 'Drag prevention for pre-defined elements', desc: 'You can change elements to not drag the parent.', - html: '
Drag me
', + html: '
Drag me
', destroy: '$("#draggable-dragPrevention").draggable("destroy");', options: [ - { desc: 'Drag using a handle', source: '$("#draggable-dragPrevention").draggable({ dragPrevention: "a,input,textarea" });' }, - { desc: 'Drag using a handle with a helper', source: '$("#draggable-dragPrevention").draggable({ helper: "clone", dragPrevention: "a,input,textarea" });' } + { desc: 'Drag using a handle', source: '$("#draggable-dragPrevention").draggable({ cancel: "a,input,textarea" });' }, + { desc: 'Drag using a handle with a helper', source: '$("#draggable-dragPrevention").draggable({ helper: "clone", cancel: "a,input,textarea" });' } ] }