camptocamp / cgxp

22 stars 22 forks source link

Custom action button #1114

Closed ger-benjamin closed 7 years ago

ger-benjamin commented 7 years ago

To be able to check some condition to add / remove a button in the 'selection action menu' of the feature grid, It was necessary that I add the possibility to add function on the "On open" (handler) function of the corresponding menu.

With this change, I'm able to run this code: https://github.com/camptocamp/demo_geomapfish/commit/479b2311bf61af72324146c3ad60d748f2104d7a

(I think that the tests will never more pass...)