summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjmoenig <jens@moenig.org>2013-11-04 13:58:44 +0100
committerjmoenig <jens@moenig.org>2013-11-04 13:58:44 +0100
commit405c36805b759baa5e20b6fb092e2b54411ed443 (patch)
tree6b25c390ad460cfcc133f8f214aa7db86fd848e9
parent5b63e7e6fa009fca3cbb8eaf2fc7e629f17d7845 (diff)
downloadsnap-byow-405c36805b759baa5e20b6fb092e2b54411ed443.tar.gz
snap-byow-405c36805b759baa5e20b6fb092e2b54411ed443.zip
filter quotation marks from project names
(for backend index)
-rw-r--r--gui.js4
-rwxr-xr-xhistory.txt4
2 files changed, 6 insertions, 2 deletions
diff --git a/gui.js b/gui.js
index debb0b7..af542de 100644
--- a/gui.js
+++ b/gui.js
@@ -68,7 +68,7 @@ sb, CommentMorph, CommandBlockMorph, BlockLabelPlaceHolderMorph*/
// Global stuff ////////////////////////////////////////////////////////
-modules.gui = '2013-October-04';
+modules.gui = '2013-November-04';
// Declarations
@@ -1439,7 +1439,7 @@ IDE_Morph.prototype.fixLayout = function (situation) {
};
IDE_Morph.prototype.setProjectName = function (string) {
- this.projectName = string;
+ this.projectName = string.replace(/['"]/g, ''); // filter quotation marks
this.hasChangedMedia = true;
this.controlBar.updateLabel();
};
diff --git a/history.txt b/history.txt
index c2c4531..73ee3ff 100755
--- a/history.txt
+++ b/history.txt
@@ -1976,3 +1976,7 @@ ______
* Portuguese translation update
* Widgets: enable Symbols in InputField drop down menus
* BYOB: enable Symbols in InputSlotDialog Morph’s drop down menu
+
+131104
+———
+* GUI: filter quotation marks from project names (for backend index)