| 313 | == Przyciski operujące na rejestrze == |
| 314 | |
| 315 | {{{ |
| 316 | <buttons> |
| 317 | <button> |
| 318 | <id>new</id> |
| 319 | <label>Nowy</label> |
| 320 | <dscrpt>Nowy wpis</dscrpt> |
| 321 | <onclick> |
| 322 | App.openDialogByCls('CREGISTER_ENTRY', null, |
| 323 | ({afterSubmit:'{AFTER_SUBMIT}', mode:'new',cregid:1}).toJSONString()) |
| 324 | </onclick> |
| 325 | <icon>new.gif</icon> |
| 326 | </button> |
| 327 | <button> |
| 328 | <id>edit</id> |
| 329 | <label>Edycja</label> |
| 330 | <dscrpt>Edytuj wpis</dscrpt> |
| 331 | <onclick> |
| 332 | App.openDialogByCls('CREGISTER_ENTRY', {KEYVAL}, |
| 333 | ({afterSubmit:'{AFTER_SUBMIT}', mode:'edit',cregid:1}).toJSONString()) |
| 334 | </onclick> |
| 335 | <icon>edit.gif</icon> |
| 336 | </button> |
| 337 | <button> |
| 338 | <id>delete</id> |
| 339 | <label>Usuń</label> |
| 340 | <dscrpt>Usuń</dscrpt> |
| 341 | <onclick> |
| 342 | App.openDialogByCls('CREGISTER_ENTRY', {KEYVAL}, |
| 343 | ({afterSubmit:'{AFTER_SUBMIT}', mode:'del',cregid:1}}).toJSONString()) |
| 344 | </onclick> |
| 345 | <icon>delete.gif</icon> |
| 346 | </button> |
| 347 | </buttons> |
| 348 | }}} |
| 349 | |
| 350 | |