Search found 9 matches

Go to advanced search

by TomMcCann
Wed Feb 05, 2014 10:50 pm
Forum: Issues
Topic: back button does not trigger bur, unload or before-unload events
Replies: 3
Views: 451
 
Jump to post

back button does not trigger bur, unload or before-unload events

Blur triggers but not unload or 'before-unload'. Ive attached a pic of the events.

Image

by TomMcCann
Wed Feb 05, 2014 9:47 pm
Forum: Issues
Topic: back button does not trigger bur, unload or before-unload events
Replies: 3
Views: 451
 
Jump to post

back button does not trigger bur, unload or before-unload events

I need to have a bit of code to save the document when the user clicks the back button. I can't get it to work. To test it, I have put js code alert('event name'); in the event. Nothing triggers. The back button itself works- it navigates to previous page, but surely it should trigger these events? ...
by TomMcCann
Thu Jan 02, 2014 7:37 am
Forum: Issues
Topic: How to use popups?
Replies: 3
Views: 594
 
Jump to post

How to use popups?

I've tried building a dialog box with a popup. The popup contains a grid with an input control and a button whose click event closes the popup. When I call the popup from a button on the main page, the popup is displayed (very badly) but the 'Close' button in the popup has no effect. Also, the popup...
by TomMcCann
Sun Aug 25, 2013 9:05 am
Forum: Issues
Topic: Extending the login service to return additional user data.
Replies: 3
Views: 459
 
Jump to post

Extending the login service to return additional user data.

I added an extra column to the Users data collection to contain the department that each user works in. I add a new response parameter to the login service to return the Department value. When the login service runs, it returns the _id value and sessionToken value but no Department value. Is it poss...
by TomMcCann
Sun Aug 18, 2013 5:59 am
Forum: Issues
Topic: Populating the ACL column via REST service on new rows
Replies: 4
Views: 1234
 
Jump to post

Populating the ACL column via REST service on new rows

It's fairly typical that you may need more than one entry in the acl. For example, you may want the original author to have read/write access to the record and to allow other users to have read-access only. This can be achieved by attaching this code to the 'Edit JS' for the acl request parameter. v...
by TomMcCann
Sat Aug 17, 2013 3:01 am
Forum: Issues
Topic: How to set the acl field in a database object by using JavaScript
Replies: 6
Views: 711
 
Jump to post

How to set the acl field in a database object by using JavaScript

Ok Thank you. I don't know how that escaped me. Thank you very much.

by TomMcCann
Sat Aug 17, 2013 2:55 am
Forum: Issues
Topic: How to set the acl field in a database object by using JavaScript
Replies: 6
Views: 711
 
Jump to post

How to set the acl field in a database object by using JavaScript

Please. I am so utterly frustrated. I don't have a service request parameter for ACL. How do I get this?

by TomMcCann
Sat Aug 17, 2013 2:46 am
Forum: Issues
Topic: How to set the acl field in a database object by using JavaScript
Replies: 6
Views: 711
 
Jump to post

How to set the acl field in a database object by using JavaScript

ive seen that code. but where does it go?

by TomMcCann
Sat Aug 17, 2013 2:27 am
Forum: Issues
Topic: How to set the acl field in a database object by using JavaScript
Replies: 6
Views: 711
 
Jump to post

How to set the acl field in a database object by using JavaScript

I'm designing a database and I want each user's record to be editable only by that user. I know that the 'acl' field exists for this purpose and I know what contents to put in the field. What I don't know is how to actually do it. Question: how can I set the field by JavaScript? What event do I atta...

Go to advanced search