equal
deleted
inserted
replaced
477 attrs['onclick'] = "postForm('__action_%s', \'%s\', \'%s\')" % ( |
477 attrs['onclick'] = "postForm('__action_%s', \'%s\', \'%s\')" % ( |
478 self.cwaction, self.label, form.domid) |
478 self.cwaction, self.label, form.domid) |
479 elif self.onclick: |
479 elif self.onclick: |
480 attrs['onclick'] = self.onclick |
480 attrs['onclick'] = self.onclick |
481 if self.name: |
481 if self.name: |
482 attrs['name'] = name |
482 attrs['name'] = self.name |
483 if self.setdomid: |
483 if self.setdomid: |
484 attrs['id'] = self.name |
484 attrs['id'] = self.name |
485 if self.settabindex and not 'tabindex' in attrs: |
485 if self.settabindex and not 'tabindex' in attrs: |
486 attrs['tabindex'] = form.req.next_tabindex() |
486 attrs['tabindex'] = form.req.next_tabindex() |
487 if self.icon: |
487 if self.icon: |