Hi Carl,
Actually, the save does fail if the comment string is empty; the
comment is by default pre-populated with a single space so that the
user can bypass it. All you have to do is remove that one space on
line 20 of edu/columbia/hypercontent/contentmanager/
CM_editor_html.xsl in v1.4, or in v2.0 at line 239 of the file "/js/
manage.js" in the bootstrap repository.
Cheers,
Alex
On Jan 25, 2006, at 11:53 AM, Carl Barrow wrote:
> Hi Alex
>
> I would like to force the user to add a comment on Save and Close.
> It would make my life a lot easier when trying to find out what
> they have done wrong. A lot us users just click OK and don't add
> anything.
>
> Is there some code that I could change/add in version 1.4 to do this?
>
> Many Thanks
> Carl
>
> --
> ************************************
>
> Carl Barrow
> Systems Integrator
> e-Services
> The University of Hull
> Cottingham Road
> Hull
> HU6 7RX
> Ext. 6838
> ************************************
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through
> log files
> for problems? Stop! Download the new AJAX search engine that makes
> searching your log files as easy as surfing the web. DOWNLOAD
> SPLUNK!
> http://sel.as-us.falkag.net/sel?
> cmd=lnk&kid=103432&bid=230486&dat=121642
> _______________________________________________
> Hypercontent-users mailing list
> Hyp...@li...
> https://lists.sourceforge.net/lists/listinfo/hypercontent-users
>
|