Hi,
On 8/23/07, baklouti <[EMAIL PROTECTED]> wrote:
> Hi all ,
> i want to ask to ahocevar for his revision 3073 ,
> In which cases ,it used this lines :/
> mapbuilder.loadScript(baseDir+"/util/Listener.js");
> /If it is usefull or not?
> because , it creates a bug on opera.
I do not know what exactly you are referring to, but the inclusion of
Listener.js in ModelBase.js is definitely needed.
> and i want to to know if it is possible to use SARISSA variable , to
> know what browser is used.
> For example in the file proj.js line 109
You already introduced it in Util.js. I do not have any objections
against doing so, but you have to be sure that you add Sarissa.js
dependencies to the files in which you use this variable.
> / if(document.all) { // IE version
> // older versions (IE4 and some IE5.0) might be using MSXML2.XMLHTTP.4.0
>
> /here opera go to the if
>
> i think it better to write
> / if(/_SARISSA_IS_IE /) { // IE version
> // older versions (IE4 and some IE5.0) might be using
> MSXML2.XMLHTTP.4.0/
IMHO it would even be better to use our pre-defined functions from
Util.js for handling of XMLHTTP objects.
Regards,
Andreas.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
mapbuilder-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mapbuilder-devel