[Pkg-voip-commits] r2299 - in freepbx/trunk/debian: . patches
Diego Iastrubni
elcuco-guest at costa.debian.org
Thu Aug 24 10:22:40 UTC 2006
Author: elcuco-guest
Date: 2006-08-24 10:22:35 +0000 (Thu, 24 Aug 2006)
New Revision: 2299
Added:
freepbx/trunk/debian/patches/fix-konqueror-blinks.dpatch
Modified:
freepbx/trunk/debian/changelog
freepbx/trunk/debian/patches/00list
Log:
fix a bug on konqeuror, it was detected as IE and behaved badly... as IE.... now it works much more nicely
Modified: freepbx/trunk/debian/changelog
===================================================================
--- freepbx/trunk/debian/changelog 2006-08-24 07:01:05 UTC (rev 2298)
+++ freepbx/trunk/debian/changelog 2006-08-24 10:22:35 UTC (rev 2299)
@@ -7,6 +7,7 @@
* freepbx-admin: patched featured codes, to support sqlite
* added both manager.d and extensions.d directories (on the same patch)
* freepbx-panel adds another alternative configuration for op-panel
+ * applied a patch to remove blinking on Konqueror
-- Diego Iastrubni <diego.iastrubni at xorcom.com> Sun, 19 Jun 2006 18:00:00 +0200
Modified: freepbx/trunk/debian/patches/00list
===================================================================
--- freepbx/trunk/debian/patches/00list 2006-08-24 07:01:05 UTC (rev 2298)
+++ freepbx/trunk/debian/patches/00list 2006-08-24 10:22:35 UTC (rev 2299)
@@ -3,5 +3,6 @@
disable-online-updates
fix-retrieve-op-panel-cfg
fix-fop-config.dpatch
+fix-konqueror-blinks
#fix-ivr-sysrec
Added: freepbx/trunk/debian/patches/fix-konqueror-blinks.dpatch
===================================================================
--- freepbx/trunk/debian/patches/fix-konqueror-blinks.dpatch 2006-08-24 07:01:05 UTC (rev 2298)
+++ freepbx/trunk/debian/patches/fix-konqueror-blinks.dpatch 2006-08-24 10:22:35 UTC (rev 2299)
@@ -0,0 +1,31 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## fix-konqueror-blinks.dpatch by Diego Iastrubni <diego.iastrubni at xorcom.com>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Konqueror was detected as IE. This causeed blinks on the page and lost of HTML forms.
+
+ at DPATCH@
+diff -urNad freepbx-2.1.1.obsolete.0.673625482552783/amp_conf/htdocs/admin/common/script.js.php /tmp/dpep.EGmNCR/freepbx-2.1.1.obsolete.0.673625482552783/amp_conf/htdocs/admin/common/script.js.php
+--- freepbx-2.1.1.obsolete.0.673625482552783/amp_conf/htdocs/admin/common/script.js.php 2006-05-05 19:51:19.000000000 +0300
++++ /tmp/dpep.EGmNCR/freepbx-2.1.1.obsolete.0.673625482552783/amp_conf/htdocs/admin/common/script.js.php 2006-08-22 16:08:31.000000000 +0300
+@@ -25,6 +25,20 @@
+ Is_DOM = (document.getElementById) ? true : false;
+ Is_NS4 = (document.layers) ? true : false;
+ Is_IE = (document.all) ? true : false;
++
++// detect for konqueror, taken from
++// http://www.javascript-source.com/
++var detect = navigator.userAgent.toLowerCase();
++if (checkIt('konqueror'))
++ Is_IE = false;
++
++function checkIt(string)
++{
++ place = detect.indexOf(string) + 1;
++ thestring = string;
++ return place;
++}
++
+ Is_IE4 = Is_IE && !Is_DOM;
+ Is_Mac = (navigator.appVersion.indexOf("Mac") != -1);
+ Is_IE4M = Is_IE4 && Is_Mac;
Property changes on: freepbx/trunk/debian/patches/fix-konqueror-blinks.dpatch
___________________________________________________________________
Name: svn:executable
+ *
More information about the Pkg-voip-commits
mailing list