[KSS-checkins] r42498 - kukit/kukit.js/branch/performance_improvement/kukit
reebalazs at codespeak.net
reebalazs at codespeak.net
Mon Apr 30 21:38:05 CEST 2007
Author: reebalazs
Date: Mon Apr 30 21:38:05 2007
New Revision: 42498
Modified:
kukit/kukit.js/branch/performance_improvement/kukit/providerreg.js
Log:
Change the deprecation of the form submit parameters; emit the warning from check and not from eval of the providers.
Modified: kukit/kukit.js/branch/performance_improvement/kukit/providerreg.js
==============================================================================
--- kukit/kukit.js/branch/performance_improvement/kukit/providerreg.js (original)
+++ kukit/kukit.js/branch/performance_improvement/kukit/providerreg.js Mon Apr 30 21:38:05 2007
@@ -158,9 +158,9 @@
if (args.length != 1) {
throw 'form method needs 1 arguments (formname)';
}
+ kukit.logWarning('Deprecated the form(formname) parameter provider, use xxx-kssSubmitForm: form(formname) instead!');
},
eval: function(args, node) {
- kukit.logWarning('Deprecated the form(formname) parameter provider, use xxx-kssSubmitForm: form(formname) instead!');
return kukit.fo.getAllFormVars(new kukit.fo.NamedFormLocator(args[0]), new kukit.ut.DictCollector());
}
};
@@ -173,9 +173,9 @@
if (args.length != 0) {
throw 'currentForm method needs no argument';
}
+ kukit.logWarning('Deprecated the currentForm() parameter provider, use xxx-kssSubmitForm: currentForm() instead!');
},
eval: function(args, node) {
- kukit.logWarning('Deprecated the currentForm() parameter provider, use xxx-kssSubmitForm: currentForm() instead!');
return kukit.fo.getAllFormVars(new kukit.fo.CurrentFormLocator(node), new kukit.ut.DictCollector());
}
};
More information about the Kukit-checkins
mailing list