packages: jquery-thickbox/hide-peek-trough-obj.patch, jquery-thickbox/jquer...

glen glen at pld-linux.org
Thu Sep 9 16:59:43 CEST 2010


Author: glen                         Date: Thu Sep  9 14:59:43 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- ie fix needed only in ie; rel 12

---- Files affected:
packages/jquery-thickbox:
   hide-peek-trough-obj.patch (1.2 -> 1.3) , jquery-thickbox.spec (1.19 -> 1.20) , no-doctype.patch (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: packages/jquery-thickbox/hide-peek-trough-obj.patch
diff -u packages/jquery-thickbox/hide-peek-trough-obj.patch:1.2 packages/jquery-thickbox/hide-peek-trough-obj.patch:1.3
--- packages/jquery-thickbox/hide-peek-trough-obj.patch:1.2	Tue Nov  3 16:26:53 2009
+++ packages/jquery-thickbox/hide-peek-trough-obj.patch	Thu Sep  9 16:59:38 2010
@@ -25,7 +25,7 @@
 +			}
 +		}
 +
- 		if (!document.body.style.maxHeight && document.documentElement.clientHeight) {//if IE 6 with doctype
+		if (!document.body.style.maxHeight && document.documentElement.clientHeight && navigator.userAgent.indexOf("MSIE") !== -1) {//if IE 6 with doctype
  			$("body","html").css({height: "100%", width: "100%"});
  			$("html").css("overflow","hidden");
 @@ -276,6 +297,8 @@

================================================================
Index: packages/jquery-thickbox/jquery-thickbox.spec
diff -u packages/jquery-thickbox/jquery-thickbox.spec:1.19 packages/jquery-thickbox/jquery-thickbox.spec:1.20
--- packages/jquery-thickbox/jquery-thickbox.spec:1.19	Thu Jun 10 14:26:09 2010
+++ packages/jquery-thickbox/jquery-thickbox.spec	Thu Sep  9 16:59:38 2010
@@ -6,7 +6,7 @@
 Summary:	ThickBox
 Name:		jquery-thickbox
 Version:	3.1
-Release:	11
+Release:	12
 License:	MIT / GPL
 Group:		Applications/WWW
 Source0:	http://jquery.com/demo/thickbox/thickbox-code/thickbox.js
@@ -144,6 +144,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.20  2010/09/09 14:59:38  glen
+- ie fix needed only in ie; rel 12
+
 Revision 1.19  2010/06/10 12:26:09  glen
 - hack for form elements; rel 11
 

================================================================
Index: packages/jquery-thickbox/no-doctype.patch
diff -u packages/jquery-thickbox/no-doctype.patch:1.1 packages/jquery-thickbox/no-doctype.patch:1.2
--- packages/jquery-thickbox/no-doctype.patch:1.1	Wed Sep 30 15:08:46 2009
+++ packages/jquery-thickbox/no-doctype.patch	Thu Sep  9 16:59:38 2010
@@ -5,7 +5,7 @@
  
  	try {
 -		if (typeof document.body.style.maxHeight === "undefined") {//if IE 6
-+		if (!document.body.style.maxHeight && document.documentElement.clientHeight) {//if IE 6 with doctype
++		if (!document.body.style.maxHeight && document.documentElement.clientHeight && navigator.userAgent.indexOf("MSIE") !== -1) {//if IE 6 with doctype
  			$("body","html").css({height: "100%", width: "100%"});
  			$("html").css("overflow","hidden");
  			if (document.getElementById("TB_HideSelect") === null) {//iframe to hide select elements in ie6
@@ -14,7 +14,7 @@
  	$("#TB_window").fadeOut("fast",function(){$('#TB_window,#TB_overlay,#TB_HideSelect').trigger("unload").unbind().remove();});
  	$("#TB_load").remove();
 -	if (typeof document.body.style.maxHeight == "undefined") {//if IE 6
-+	if (!document.body.style.maxHeight && document.documentElement.clientHeight) {//if IE 6 with doctype
++	if (!document.body.style.maxHeight && document.documentElement.clientHeight && navigator.userAgent.indexOf("MSIE") !== -1) {//if IE 6 with doctype
  		$("body","html").css({height: "auto", width: "auto"});
  		$("html").css("overflow","");
  	}
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/jquery-thickbox/hide-peek-trough-obj.patch?r1=1.2&r2=1.3&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/jquery-thickbox/jquery-thickbox.spec?r1=1.19&r2=1.20&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/jquery-thickbox/no-doctype.patch?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list