示例#1
0
文件: Submit.php 项目: easyconn/atk4
 function init()
 {
     parent::init();
     $this->template->trySet('type', 'submit');
     if ($this->form->js_widget) {
         $this->js('click', array($this->form->js()->find('input[name=ajax_submit]')->val($this->short_name), $this->form->js()->submit()));
     }
 }
 public function init()
 {
     parent::init();
     $this->meta->name = 'toolbarbutton';
 }