Jelajahi Sumber

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 tahun lalu
induk
melakukan
e44e0ba95f
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  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)