Changeset 57283
- Timestamp:
- 02/07/08 17:22:32 (2 months ago)
- Location:
- modules/cms/branches/2.2.2-asfonz
- Files:
-
- 2 modified
-
code/GenericDataAdmin.php (modified) (2 diffs)
-
javascript/GenericDataAdmin_left.js (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
modules/cms/branches/2.2.2-asfonz/code/GenericDataAdmin.php
r50729 r57283 147 147 // legacy 148 148 function ExportForm() { 149 return$form = new Form(149 $form = new Form( 150 150 $this, 151 151 "ExportForm", 152 152 new FieldSet( 153 new HiddenField("csvIDs","csvIDs", $_REQUEST[csvIDs])153 new HiddenField("csvIDs","csvIDs",isset($_REQUEST['csvIDs']) ? $_REQUEST['csvIDs'] : null) 154 154 ), 155 155 $this->result_actions 156 156 ); 157 $form->disableSecurityToken(); 158 return $form; 157 159 } 158 160 … … 445 447 446 448 $fileData = ""; 447 $fileData .= "\"" . implode("\" ;\"",$csv_columns) . "\"";449 $fileData .= "\"" . implode("\",\"",$csv_columns) . "\""; 448 450 $fileData .= "\n"; 449 451 -
modules/cms/branches/2.2.2-asfonz/javascript/GenericDataAdmin_left.js
r57189 r57283 14 14 }, 15 15 16 '#Form_SearchForm _action_getResults': {17 onclick: this.filterOnChange .bind(this)16 '#Form_SearchForm input.action': { 17 onclick: this.filterOnChange 18 18 }, 19 19 /** … … 108 108 Ajax.SubmitForm( 109 109 "Form_SearchForm", 110 "action_getResults",110 this.name, 111 111 { 112 112 postBody : 'ajax=1', 113 onSuccess : this.updateResult.bind(this),113 onSuccess : $('LeftPane').updateResult.bind(this), 114 114 onFailure : function(response) { 115 115 errorMessage('Error encountered during search', response); … … 133 133 Behaviour.apply( $('ResultTable_holder') ); 134 134 } 135 136 if($('ResultTable_holder')) fitToParent('ResultTable_holder',12); 135 137 }, 136 138
