瀏覽代碼

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 10 年之前
父節點
當前提交
7b3be33583
共有 1 個文件被更改,包括 1 次插入1 次删除
  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 != '')