Hello,
I'm not a programmer, I'm a web designer.
For no reason that I can see, DW4 has started giving me error messages when I save pages:
I'm using templates, in which one of the non-editable regions contains an automatically updated date stamp. The error occurs whether I save the template, its dependent documents or even completely non-related documents (all have the date stamp).
This is line 67 of the file:
in a section of code covered by the comments:
//function: updateDWDates
//description: updates all of the last modified dates in the document
It does actually seem to save OK, but I'm worried that something serious is lurking underneath. Has anyone had this problem or know how I can resolve it?
I'm not a programmer, I'm a web designer.
For no reason that I can see, DW4 has started giving me error messages when I save pages:
Code:
While executing onLoad, the following JavaScript error(s) occurred:
At line 67 of file "Date_beforeSave.htm": currLock has no properties
I'm using templates, in which one of the non-editable regions contains an automatically updated date stamp. The error occurs whether I save the template, its dependent documents or even completely non-related documents (all have the date stamp).
This is line 67 of the file:
Code:
currLock = locks.item(LOCK_IND++);
in a section of code covered by the comments:
//function: updateDWDates
//description: updates all of the last modified dates in the document
It does actually seem to save OK, but I'm worried that something serious is lurking underneath. Has anyone had this problem or know how I can resolve it?