Changeset 12031
- Timestamp:
- 10/07/08 14:10:28 (2 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
plugins/sfExtjsThemePlugin/trunk/data/generator/sfPropelAdmin/extjs/template/templates/_list_ajax_toolbar_top_js.php
r11604 r12031 69 69 if($actionName[0] == '_' || isset($params['handler_function'])) continue; 70 70 $this->createPartialFile('_list_ajax_action_'.$actionName,'<?php // @object $sfExtjs2Plugin and @object $toolbar_top provided 71 $configArr["source"] = "Ext.Msg.alert(\'Error\',\'handler_function is not defined!<br><br> Edit the template \"_list_ajax_action_'.$actionName.'.php\" inyour application/modules/'.strtolower($this->getModuleName()).'/templates folder and alter it or define the \"handler_function\" in your generator.yml file\');";71 $configArr["source"] = "Ext.Msg.alert(\'Error\',\'handler_function is not defined!<br><br>Copy the template \"_list_ajax_action_'.$actionName.'.php\" from cache to your application/modules/'.strtolower($this->getModuleName()).'/templates folder and alter it or define the \"handler_function\" in your generator.yml file\');"; 72 72 $toolbar_top->attributes["'.$actionName.'"] = $sfExtjs2Plugin->asMethod($configArr); 73 73 ?>');