소스 검색

#1050: Properly support the 'list' display style for external keys - as stated in the documentation!

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@3529 a333f486-631f-4898-b8df-5754b55c2be0
dflaven 10 년 전
부모
커밋
9afb814055
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      application/ui.extkeywidget.class.inc.php

+ 2 - 1
application/ui.extkeywidget.class.inc.php

@@ -164,6 +164,7 @@ class UIExtKeyWidget
 				break;
 
 				case 'select':
+				case 'list':
 				default:
 				$sSelectMode = 'true';
 				
@@ -302,7 +303,7 @@ EOF
 EOF
 );
 		}
-		if ($sDisplayStyle == 'select')
+		if (($sDisplayStyle == 'select') || ($sDisplayStyle == 'list'))
 		{
 			$sHTMLValue .= "<span id=\"v_{$this->iId}\"></span>";
 		}