Changeset 33200
- Timestamp:
- 11/11/11 15:48:20 (2 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
plugins/dcReloadedFormExtraPlugin/trunk/lib/widget/crWidgetFormJsTreeAjaxPropel.class.php
r33190 r33200 58 58 $this->addOption('peer_count_method', 'doCount'); 59 59 $this->addOption('peer_to_string_method', '__toString'); 60 $this->addOption('root_node', null); 60 61 } 61 62 … … 102 103 node_id: n == -1? -1 : n.data("id"), 103 104 peer_class: "%peer_class%", 105 root_node: %root_node%, 104 106 peer_id_column: "%peer_id_column%", 105 107 peer_parent_id_column: "%peer_parent_id_column%", … … 125 127 "%peer_count_method%" => $this->encode($this->getOption('peer_count_method')), 126 128 "%peer_to_string_method%" => $this->encode($this->getOption('peer_to_string_method')), 129 "%root_node%" => $this->getOption('root_node'), 127 130 )); 128 131 } plugins/dcReloadedFormExtraPlugin/trunk/modules/dc_ajax/actions/actions.class.php
r33198 r33200 415 415 case 'get_root': 416 416 default: 417 $id = null;417 $id = $request->getParameter('root_node', null); 418 418 break; 419 419 }