Re: Save function not always working

pinStyle

Save function not always working


Henno 02-05-2008, 1:30
The style editor does not always save the data back to the file after clicking on the save button. We are running version 1.0.0920 of the Style Editor.
Is there any way to see when the save has been done successfully?
In the status bar we see File: Filename.css

Re: Save function not always working


Pintexx Support 02-05-2008, 2:57
Hi,

how do you see that the content is not saved every time ?

What do we have to do to reproduce this issu ?

Regards,
Hans-Peter

Re: Save function not always working


Henno 02-07-2008, 9:47
Hi, Hans-Peter
<br /><br />
After clicking on the save button and then closing and reloading the style sheet. It reloads with the old data and removes the changes that we made.
<br /><br />
How to reproduce? <br /><br />
Step 1) Get a slow internet connection.
<br /><br />The only changes we made was to the pinStyleI.aspx file where we did the following:<br /><br />
objToolbar1.add(objToolbars.createSeparator(imagePath + "tbbegin.gif"));<br />
//objToolbar1.add(objToolbars.createButton("",imagePath + "new.gif","",getLanguageString(134),"NEW"));<br />
//objToolbar1.add(objToolbars.createButton("",imagePath + "open.gif","",getLanguageString(104),"OPEN"));<br />
objToolbar1.add(objToolbars.createButton("",imagePath + "save.gif","",getLanguageString(105),"SAVE"));<br />
//objToolbar1.add(objToolbars.createButton("",imagePath + "saveas.gif","",getLanguageString(106),"SAVEAS"));<br />
objToolbar1.add(objToolbars.createSeparator(imagePath + "tbend.gif"));<br />
objToolbar1.add(objToolbars.createDistance(3,true));
<br /><br />
One more thing to consider is that our bandwith is slow. It might have something to do with it. I have found that if the latency is bad we get the following error in the browser:<br /><br />
Line: 5<br />
Char: 354<br />
Error: '_ss_csstext' is undefined<br />
Code: 0<br />
URL: http://member.improweb.com/website/pinStyleI.aspx?language=en&tech=aspx&desighn=3&url=demo.improweb.com/&path=E:\Backups\ftproot\localuser\Marina\demo.improweb.com/&file=Styles.css&t=633379764974068750
<br /><br />
Kind Regards,<br />
Henno

Re: Save function not always working


Pintexx Support 02-07-2008, 1:10
Hi,

could you please check if the changes are really not saved or if reloading is a problem because the files is cached ?

Regards,
Hans-Peter