Parcourir la source

Enhancement: do not retrieve disabled fields.

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@3504 a333f486-631f-4898-b8df-5754b55c2be0
dflaven il y a 10 ans
Parent
commit
7b3be33583
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      js/property_field.js

+ 1 - 1
js/property_field.js

@@ -625,7 +625,7 @@ function ReadFormParams(sFormId)
 {
 	var oMap = { };
 	$('#'+sFormId+' :input').each( function() {
-		if ($(this).parent().is(':visible'))
+		if ($(this).parent().is(':visible') && !$(this).prop('disabled'))
 		{
 			var sName = $(this).attr('name');
 			if (sName && sName != '')