Changeset 529 for trunk/Common/Form/Types
- Timestamp:
- Apr 23, 2013, 7:12:53 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Common/Form/Types/OneToMany.php
r502 r529 5 5 class TypeOneToMany extends TypeBase 6 6 { 7 var $EditActions; 8 7 9 function OnView($Item) 8 10 { … … 24 26 function OnEdit($Item) 25 27 { 26 $Output = '<select name="'.$Item['Name'].'" >';28 $Output = '<select name="'.$Item['Name'].'" id="'.$Item['Name'].'">'; 27 29 $Type = $this->FormManager->Type->TypeDefinitionList[$Item['Type']]; 28 30 if(array_key_exists('Condition', $Type['Parameters'])) $Where = ' WHERE '.$Type['Parameters']['Condition']; … … 42 44 } 43 45 $Output .= '</select>'; 46 $Output .= '<img src="'.$this->FormManager->Root.'/images/select.png" alf="Vybrat" language="javascript" '. 47 'onclick="return popupwindow("'.$this->FormManager->Root.'/is/?a=select&t='.$Table.'&r='.$Item['Name'].'","test");" style="cursor:hand;cursor:pointer"/>'; 44 48 return($Output); 45 49 }
Note:
See TracChangeset
for help on using the changeset viewer.