function bootstrap() { editor_generic::bootstrap(); $this->attributes['onclick'] = "var i_p=\$i('" . js_escape($this->image_0->id_gen()) . "');" . "var i_m=\$i('" . js_escape($this->image_1->id_gen()) . "');" . "if(i_p.style.display=='none'){i_p.style.display='';i_m.style.display='none';this.checked=true;}" . "else{i_p.style.display='none';i_m.style.display='';this.checked=false;};" . "chse.timerch(true);"; //$this->attributes['onfocus']=''; //$this->attributes['onblur']=''; // focus persistence test if (!isset($this->no_restore_focus)) { editor_generic::add_focus_restore(); } }
function bootstrap() { editor_generic::bootstrap(); // $this->long_name=editor_generic::long_name(); //$this->attributes['value']=implode($this->args,';'); // focus persistence test if (!isset($this->no_restore_focus)) { editor_generic::add_focus_restore(); } }