Hi all ,
Trying up ajaxhelper Package HEAD check out , I found some typo’s error, the proc ah::requires Throws an error when calling like “ah::requires -sources overlibmws_drag”
ERROR:
Too many positional parameters specified
while executing
"template::head::add_javascript__arg_parser"
(procedure "template::head::add_javascript" line 1)
invoked from within
"template::head::add_javascript -src -order 1 "overlibmws/overlibmws.js""
("uplevel" body line 1)
invoked from within
"uplevel 1 $script"
The problem is a typo calling template::head::add_javascript
"overlibmws_drag" {
template::head::add_javascript -src -order 1 "${ah_base_url}overlibmws/overlibmws${minsuffix}.js"
template::head::add_javascript -src -order 2 "${ah_base_url}overlibmws/overlibmws_draggable${minsuffix}.js"
}
link to bug tracker:
https://openacs.org/bugtracker/openacs/bug?bug_number=3178