Skip to content

Commit

Permalink
Fixed so that the examples checks if they are executed from the local…
Browse files Browse the repository at this point in the history
… file system since that might not work properly.
  • Loading branch information
spocke committed Jun 17, 2010
1 parent a69303e commit 4caf3f4
Show file tree
Hide file tree
Showing 8 changed files with 36 additions and 6 deletions.
1 change: 1 addition & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ Version 3.3.x (2010-xx-xx)
Fixed bug where WebKit would not move the caret to a correct position after a paste operation.
Fixed bug where WebKit would produce a div wrapper element when pasting some contents.
Fixed bug where the visual chars and nonbreaking plugin wouldn't show nbsp elements correctly.
Fixed so that the examples checks if they are executed from the local file system since that might not work properly.
Version 3.3.7 (2010-06-10)
Fixed bug where context menu would produce an error on IE if you right clicked twice and left clicked once.
Fixed bug where resizing of the window on WebKit browsers in fullscreen mode wouldn't position the statusbar correctly.
Expand Down
6 changes: 5 additions & 1 deletion examples/custom_formats.html
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,10 @@ <h3>Custom formats example</h3>
<input type="reset" name="reset" value="Reset" />
</div>
</form>

<script type="text/javascript">
if (document.location.protocol == 'file:') {
alert("The examples might not work properly on the local file system due to security settings in your browser. Please use a real webserver.");
}
</script>
</body>
</html>
5 changes: 5 additions & 0 deletions examples/full.html
Original file line number Diff line number Diff line change
Expand Up @@ -92,5 +92,10 @@ <h3>Full featured example</h3>
</div>
</form>

<script type="text/javascript">
if (document.location.protocol == 'file:') {
alert("The examples might not work properly on the local file system due to security settings in your browser. Please use a real webserver.");
}
</script>
</body>
</html>
6 changes: 5 additions & 1 deletion examples/full_jquery.html
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,10 @@ <h3>Full featured example using jQuery plugin</h3>
<input type="reset" name="reset" value="Reset" />
</div>
</form>

<script type="text/javascript">
if (document.location.protocol == 'file:') {
alert("The examples might not work properly on the local file system due to security settings in your browser. Please use a real webserver.");
}
</script>
</body>
</html>
6 changes: 5 additions & 1 deletion examples/simple.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ <h3>Simple theme example</h3>
<input type="submit" name="save" value="Submit" />
<input type="reset" name="reset" value="Reset" />
</form>

<script type="text/javascript">
if (document.location.protocol == 'file:') {
alert("The examples might not work properly on the local file system due to security settings in your browser. Please use a real webserver.");
}
</script>
</body>
</html>
6 changes: 5 additions & 1 deletion examples/skins.html
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,10 @@ <h3>Skin support example</h3>
<input type="submit" name="save" value="Submit" />
<input type="reset" name="reset" value="Reset" />
</form>

<script type="text/javascript">
if (document.location.protocol == 'file:') {
alert("The examples might not work properly on the local file system due to security settings in your browser. Please use a real webserver.");
}
</script>
</body>
</html>
6 changes: 5 additions & 1 deletion examples/translate.html
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,10 @@ <h3>Translation</h3>
&lt;/p&gt;
</textarea>
</form>

<script type="text/javascript">
if (document.location.protocol == 'file:') {
alert("The examples might not work properly on the local file system due to security settings in your browser. Please use a real webserver.");
}
</script>
</body>
</html>
6 changes: 5 additions & 1 deletion examples/word.html
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ <h3>Word processor example</h3>
<input type="submit" name="save" value="Submit" />
<input type="reset" name="reset" value="Reset" />
</form>

<script type="text/javascript">
if (document.location.protocol == 'file:') {
alert("The examples might not work properly on the local file system due to security settings in your browser. Please use a real webserver.");
}
</script>
</body>
</html>

0 comments on commit 4caf3f4

Please sign in to comment.