DrupalGap
DrupalGap copied to clipboard
How to change the default transition effect for a DG core page?
I wank to change the transition for the user/login page (only).
I have tried this:
function mymodule_deviceready() {
...
drupalgap.menu_links['user/login'].options['transition'] = 'none';
...
}
This does not seem to work, the default transition is still used. Any ideas?
@luxio I would've expected that to work, here's the line in question: https://github.com/signalpoint/DrupalGap/blob/7.x-1.x/src/includes/go.inc.js#L242
This line could be suspect as well: https://github.com/signalpoint/DrupalGap/blob/7.x-1.x/src/includes/go.inc.js#L138 - perhaps the options are being overwritten, the code looks good though, so I'm not sure.