소스 검색

RenderAsDialog now takes into account its "width" parameter.

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

+ 2 - 2
application/forms.class.inc.php

@@ -351,7 +351,7 @@ EOF
 <<<EOF
 $('#$sDialogId').dialog({
 		height: 'auto',
-		width: 500,
+		width: $iDialogWidth,
 		modal: true,
 		title: '$sDialogTitle',
 		buttons: [
@@ -813,7 +813,7 @@ class DesignerLabelField extends DesignerFormField
 	{
 		$sId = $this->oForm->GetFieldId($this->sCode);
 		$sName = $this->oForm->GetFieldName($this->sCode);
-		return array('label' => $this->sLabel, 'value' => $sDescription);
+		return array('label' => $this->sLabel, 'value' => $this->sDescription);
 	}
 	
 	public function ReadParam(&$aValues)