293 |
from hack import confirmRollback |
from hack import confirmRollback |
294 |
confirmRollback (self, ownBranchBlock, 'commitTrigger', ownBranchBlock.nameEntry ) |
confirmRollback (self, ownBranchBlock, 'commitTrigger', ownBranchBlock.nameEntry ) |
295 |
]]></trigger> |
]]></trigger> |
296 |
|
<trigger name="askForChangesTrigger" type="NAMED"><![CDATA[ |
297 |
|
import hack |
298 |
|
# there are some places where the blocks are dirty |
299 |
|
hack.confirmPageChanges(self, 'commitTrigger', ownBranchBlock) |
300 |
|
]]></trigger> |
301 |
|
|
302 |
|
|
303 |
|
|
304 |
<!-- gestión --> |
<!-- gestión --> |
305 |
<page name="Gestión"> |
<page name="Gestión"> |
306 |
|
<trigger type="Pre-Focusout" src="askForChangesTrigger"/> |
307 |
<block name="ownBranchBlock" datasource="ownBranchDataSource" restrictInsert="y" transparentBlock="y"> |
<block name="ownBranchBlock" datasource="ownBranchDataSource" restrictInsert="y" transparentBlock="y"> |
308 |
<entry name="entityIdEntry" field="entity.id" hidden="y" x="1" y="1" width="20"/> |
<entry name="entityIdEntry" field="entity.id" hidden="y" x="1" y="1" width="20"/> |
309 |
<label text="Nombre de sucursal" x="1" y="3"/> |
<label text="Nombre de sucursal" x="1" y="3"/> |