You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mari...@googlegroups.com
I have a view with a uiAction that looks like this:
uiActions: { 'click button.go' : 'onGo', },
and this invokes onGo in the controller just fine.
What should I do if I want the handling of the click to be stopped? ie: in pure javascript I would use a 'return false'
I've been doing this in my controller
if (event.preventDefault) event.preventDefault(); else event.returnValue = false;
Do I need to do this with maria?
Peter Michaux
unread,
Nov 7, 2012, 9:59:15 PM11/7/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mari...@googlegroups.com
You don't do this with Maria. You can use any browser normalization
library (e.g. YUI, Dojo, etc). At the very least, moving this out as a
common utility function (e.g myApp.preventDefault) would be a good
idea, I think.