[Fusionforge-commits] FusionForge branch master updated. v6.0.5-1712-g641a3cd

Franck Villaume nerville at libremir.placard.fr.eu.org
Fri Apr 28 07:53:24 CEST 2017


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".

The branch, master has been updated
       via  641a3cda7a68289a4acdfb67baa66ea5f356ecdd (commit)
      from  575dabf36b3afb199b06883851d55ff337b6b048 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://scm.fusionforge.org/anonscm/gitweb/?p=fusionforge/fusionforge.git;a=commitdiff;h=641a3cda7a68289a4acdfb67baa66ea5f356ecdd

commit 641a3cda7a68289a4acdfb67baa66ea5f356ecdd
Author: Franck Villaume <franck.villaume at trivialdev.com>
Date:   Fri Apr 28 07:52:53 2017 +0200

    IE11: fix js error

diff --git a/src/common/tracker/include/ArtifactTypeHtml.class.php b/src/common/tracker/include/ArtifactTypeHtml.class.php
index d821870..7d98202 100644
--- a/src/common/tracker/include/ArtifactTypeHtml.class.php
+++ b/src/common/tracker/include/ArtifactTypeHtml.class.php
@@ -1524,11 +1524,18 @@ EOS;
 		$("div#maindiv h1").append($("<p>", { "class": msg_class }).html( msg_text )).show();
 	};
 	$.expr[':'].invalid = function(elem, index, match) {
-		for (let invalid of document.querySelectorAll(':invalid') )  {
-			if (elem === invalid) { return true; }
+		var invalids = document.querySelectorAll(':invalid'), result = false, len = invalids.length;
+		if (len) {
+			for (var i=0; i<len; i++) {
+				if (elem === invalids[i]) {
+					result = true;
+					break;
+				}
 		}
-		return false;
+		}
+		return result;
 	};
+
 	$("input[type='radio'].readonly, input[type='checkbox'].readonly").on('click', function(){
 		return false;
 	}).on('keydown', function(event){

-----------------------------------------------------------------------

Summary of changes:
 src/common/tracker/include/ArtifactTypeHtml.class.php | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list