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); callback(table);
} }
} }
$.bind(d.body, 'DOMNodeInserted', nodeInserted); $.bind($('form[name=delform]'), 'DOMNodeInserted', nodeInserted);
options.init(); options.init();
if (!$.getValue('firstrun')) { if (!$.getValue('firstrun')) {
return firstRun.init(); return firstRun.init();

View File

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