Topic: Bugs in TableUpdater.inc.php

* Line 115:

echo "\n<script type='text/javascript' src='" . $this->sJavascriptURI . "tableUpdater.js' " . $this->sDefer . "charset='UTF-8'>\n";

Alter to:

echo "\n<script type='text/javascript' src='" . $this->sJavascriptURI . "tableUpdater.js' " . $this->sDefer . "charset='UTF-8'></script>\n";

Another problem seem to be, that the script does not react to the:

$xajax->configure('inlineScript', false);

Or any combination ... Resulting in the $this->bInlineScript always being true ( line 68 ). And you get a nice piece off javascript in your main file sad

Only solution is to edit the file, and set the variable to false directly...

Re: Bugs in TableUpdater.inc.php

O yea, i almost forgot to report this one:

Line 115:

echo "\n<script type='text/javascript' src='" . $this->sJavascriptURI . "xajax_plugins/response/tableUpdater.js' " . $this->sDefer . "charset='UTF-8'></script>\n";

This one has two bugs. Its missing the script end tag ( see first post ), but also has the wrong path! When your sJavascriptURI point to the xajax directory, it will not have the correct path. It needs the plugin locations also "xajax_plugins/response/". See the ModelWindow plugin, what is well correct...

I get the feeling that nobody bothered to update the script after the 0.2 -> 0.5 move wink

Last edited by Arqentus (2009-12-31 3:33:23 PM)

Re: Bugs in TableUpdater.inc.php

Bump, this really IS a bug and is not fixed yet. I came into same problem.