Mark Schonewille wrote:

Hi Alex,

You are completely right. Yet, if you decide to change it, then change it right. When the script editor opens, store the md5digest of the htmlText of fld "Script" in a custom property.

It already does that (I think).

When it closes, compare the new md5digest with the custom property and pop up the dialog if they are different.

It already does that (I think).

Apparently it doesn't do it properly - but it certainly has code that checks a number of custom props
 cCheckSum
 cCardSaved
 cDontCheck

I've found it difficult to debug this - I think I'm running into the issues of special cases for "revXxx" scripts, and even trying to put things to the msg box doesn't appear to work.

So I'm going to, for the short term, try making only the "dumb" change to the setting of the "modified" flag, and BZ it to let someone who hopefully has more background knowledge in how these things are supposed to fit together do it "right".

If that works (i.e. causes no problems, and makes it better, even if not completely cured), I'll post a stack to automate the change.

--
Alex Tweedly       http://www.tweedly.net




--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.8.12/46 - Release Date: 11/07/2005

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to