RE: JS Client OM - script only runs in edit mode

2012-11-26 Thread Callum Bundy
I think if you put your JS in a form web part it will be OK in there for future reference. Callum From: ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] On Behalf Of Nigel Hertz Sent: Tuesday, 27 November 2012 4:42 PM To: ozMOSS Subject: RE: JS Client OM - script only runs in edit m

RE: JS Client OM - script only runs in edit mode

2012-11-26 Thread Nigel Hertz
I've actually just been doing something like this. As soon as you check in the page, all javascript etc in a CEWP is removed. The way I worked around it is to put everything in a text file, save the text file to a document library, and reference that from the CEWP. My text file is attached (if

Re: JS Client OM - script only runs in edit mode

2012-11-26 Thread Iain Carlin
Hi Paul, Don't have a direct answer for you, but if you use IE Developer Tools (F12) you will see what scripts aren't being loaded. (I had a similar experience the other day and it was due to an included js file being checked out - F12 helped me find which one). Cheers, Iain On 27 November 2012

JS Client OM - script only runs in edit mode

2012-11-26 Thread Web Admin
Hi all, I have added some JavaScript to a CEWP on a list view. It runs beautifully when the page is in edit mode but does nothing when not. I'm assuming that a required js file is not being loaded in view mode but am stumped. I have a script reference to my jQuery lib. This is correct and proven

ShowInViewForms SPField property

2012-11-26 Thread Web Admin
Hi all, Can anyone tell me what this property is supposed to do? I've checked it against a user with Read permissions and the field is still visible in list views and all list forms. Regards, Paul ___ ozmoss mailing list ozmoss@ozmoss.com http://prdlx