Changes

Jump to navigation Jump to search

document.markChanged

37 bytes added, 12:51, 11 June 2011
Line 1: Line 1:  
document.'''markChanged''' is a function that is part of the Document Library.  
 
document.'''markChanged''' is a function that is part of the Document Library.  
 +
<br>
 +
The function flags the current document as changed. It will ask you to save it when you close it.<br>
   −
<br>
     −
The function marks the current document as changed. It will ask you to save it when you close it.<br>
+
{{Since|3.0}}
    
== Syntax  ==
 
== Syntax  ==
   −
document.'''markChanged()'''<br> Turns the 'changed' flag on.  
+
document.'''markChanged()'''<br />
 +
''No arguments''
 +
 
 +
<br> Turns the 'changed' flag on.
    
== Example  ==
 
== Example  ==
Line 17: Line 21:  
--]]
 
--]]
   −
document.markChanged() --ask the user to save the document when closing it</source><br>  
+
document.markChanged() --ask the user to save the document when closing it</source><br>
    
[[Category:document]]
 
[[Category:document]]

Navigation menu