From: Benoît Pin Date: Fri, 11 Jul 2014 13:27:06 +0000 (+0200) Subject: ajout flag isMobile. X-Git-Url: https://scm.cri.mines-paristech.fr/git/Epoz.git/commitdiff_plain/517e9ef15ada9f55f67eed8ad3a4c2950b98c288?ds=inline;hp=cedf075cd0c3917856e5fab0c19a7c5067333950 ajout flag isMobile. --- diff --git a/epoz/epoz_core/epoz_blank_iframe.html.pt b/epoz/epoz_core/epoz_blank_iframe.html.pt old mode 100755 new mode 100644 diff --git a/epoz/epoz_core/epoz_script_color.html.dtml b/epoz/epoz_core/epoz_script_color.html.dtml old mode 100755 new mode 100644 diff --git a/epoz/epoz_core/epoz_script_detect.js.dtml b/epoz/epoz_core/epoz_script_detect.js.dtml old mode 100755 new mode 100644 index 275ffb9..0867fc6 --- a/epoz/epoz_core/epoz_script_detect.js.dtml +++ b/epoz/epoz_core/epoz_script_detect.js.dtml @@ -82,6 +82,7 @@ function BrowserDetect() { this.isMac = (ua.indexOf('mac') != -1); this.isUnix = (ua.indexOf('unix') != -1 || ua.indexOf('sunos') != -1 || ua.indexOf('bsd') != -1 || ua.indexOf('x11') != -1) this.isLinux = (ua.indexOf('linux') != -1); + this.isMobile = (ua.indexOf('mobile') != -1); // specific browser shortcuts this.isNS4x = (this.isNS && this.versionMajor == 4); diff --git a/epoz/epoz_core/epoz_script_main.js.dtml b/epoz/epoz_core/epoz_script_main.js.dtml old mode 100755 new mode 100644 diff --git a/epoz/epoz_core/epoz_script_table.html.dtml b/epoz/epoz_core/epoz_script_table.html.dtml old mode 100755 new mode 100644 diff --git a/epoz/epoz_core/epoz_script_widget.js.dtml b/epoz/epoz_core/epoz_script_widget.js.dtml old mode 100755 new mode 100644 diff --git a/epoz/epoz_core/vcXMLRPC.js.dtml b/epoz/epoz_core/vcXMLRPC.js.dtml old mode 100755 new mode 100644