Prevent user from modifying the displayed export code

This commit is contained in:
Michael Townsend
2014-08-13 19:25:42 -04:00
parent b18134f331
commit 3852fbebb6
2 changed files with 5 additions and 1 deletions
+4 -1
View File
@@ -614,7 +614,10 @@ var Events = {
}
if(scene.textarea != null) {
$('<textarea>').val(scene.textarea).appendTo(desc);
var ta = $('<textarea>').val(scene.textarea).appendTo(desc);
if(scene.readonly) {
ta.attr('readonly', true);
}
}
// Draw any loot