Only listen to the form.

This commit is contained in:
Nicolas Stepien 2011-07-20 04:16:23 +02:00
parent c192b75421
commit 6a1985d6c3
2 changed files with 2 additions and 2 deletions

View File

@ -2812,7 +2812,7 @@
callback(table);
}
}
$.bind(d.body, 'DOMNodeInserted', nodeInserted);
$.bind($('form[name=delform]'), 'DOMNodeInserted', nodeInserted);
options.init();
if (!$.getValue('firstrun')) {
return firstRun.init();

View File

@ -2201,7 +2201,7 @@ main =
for table in $$ 'a + table'
for callback in g.callbacks
callback table
$.bind d.body, 'DOMNodeInserted', nodeInserted
$.bind $('form[name=delform]'), 'DOMNodeInserted', nodeInserted
options.init()
unless $.getValue 'firstrun'