X-Git-Url: http://git.euphorik.ch/?a=blobdiff_plain;ds=sidebyside;f=js%2Feuphorik.js;h=8af19d1d475beb5cc9b215b635f20c8b27cce926;hb=2a717d2ba853bc11778d5bc9772604e0f0e22dc0;hp=de647383c3b8bd1b76d1802841fbe2bea2a94086;hpb=22ef1631270f6798262d85eb7c8f95aee65493fd;p=euphorik.git diff --git a/js/euphorik.js b/js/euphorik.js index de64738..8af19d1 100755 --- a/js/euphorik.js +++ b/js/euphorik.js @@ -1193,10 +1193,11 @@ PageEvent.prototype.waitEvent2 = function(funSend, funsReceive) } /////////////////////////////////////////////////////////////////////////////////////////////////// - + // charge dynamiquement le script de debug (obsolète) -;; jQuery.ajax({async : false, url : "js/debug.js", dataType : "script"}) - +;; var include = function(f) { jQuery.ajax({async : false, url : "js/" + f + ".js", dataType : "script"}) } +;; include("debug") + // le main $(document).ready( function() @@ -1209,7 +1210,7 @@ $(document).ready( // connexion vers le serveur (utilise un cookie qui traine) client.connexionCookie() - $("#menuCss").change(function(){ client.setCss("css/" + $("option:selected", this).attr("value") + "/euphorik.css")}) + $("#menuCss").change(function(){ client.setCss("styles/" + $("option:selected", this).attr("value") + "/euphorik.css")}) // FIXME : ne fonctionne pas sous opera // voir : http://dev.jquery.com/ticket/2892#preview