herp, stopPropagation
This commit is contained in:
parent
5ce349fee1
commit
61243ab9ec
@ -1205,9 +1205,9 @@
|
||||
init: function() {
|
||||
var node;
|
||||
node = $('form[name=delform] > *:not([id])');
|
||||
$.bind(d.body, threading.preventDefault);
|
||||
$.bind(d, 'DOMNodeInserted', threading.stopPropagation);
|
||||
threading.thread(node);
|
||||
return $.unbind(d.body, threading.preventDefault);
|
||||
return $.unbind(d, 'DOMNodeInserted', threading.stopPropagation);
|
||||
},
|
||||
thread: function(node) {
|
||||
var div, op;
|
||||
@ -1235,8 +1235,8 @@
|
||||
return threading.thread(node);
|
||||
}
|
||||
},
|
||||
preventDefault: function(e) {
|
||||
return e.preventDefault();
|
||||
stopPropagation: function(e) {
|
||||
return e.stopPropagation();
|
||||
}
|
||||
};
|
||||
threadHiding = {
|
||||
|
||||
@ -934,9 +934,9 @@ threading =
|
||||
# don't thread image controls
|
||||
node = $ 'form[name=delform] > *:not([id])'
|
||||
# don't confuse other scripts *cough*/b/ackwash*cough*
|
||||
$.bind d.body, threading.preventDefault
|
||||
$.bind d, 'DOMNodeInserted', threading.stopPropagation
|
||||
threading.thread node
|
||||
$.unbind d.body, threading.preventDefault
|
||||
$.unbind d, 'DOMNodeInserted', threading.stopPropagation
|
||||
|
||||
thread: (node) ->
|
||||
op = $.el 'div',
|
||||
@ -963,8 +963,8 @@ threading =
|
||||
unless node.align or node.nodeName is 'CENTER'
|
||||
threading.thread node
|
||||
|
||||
preventDefault: (e) ->
|
||||
e.preventDefault()
|
||||
stopPropagation: (e) ->
|
||||
e.stopPropagation()
|
||||
|
||||
threadHiding =
|
||||
init: ->
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user