more fixes to prevent opening in new windows

- remove some project XMLs
- remove a few from exporting sprite and stage pics
- remove the false parameter (since it is the default)
'
upd4.1
Michael Ball 2017-08-26 02:33:41 -07:00
rodzic 914fa842d6
commit 63598c3994
2 zmienionych plików z 3 dodań i 6 usunięć

3
gui.js
Wyświetl plik

@ -3916,8 +3916,7 @@ IDE_Morph.prototype.exportProjectSummary = function (useDropShadows) {
this.saveFileAs( this.saveFileAs(
'<!DOCTYPE html>' + html.toString(), '<!DOCTYPE html>' + html.toString(),
'text/html;charset=utf-8', 'text/html;charset=utf-8',
pname, pname
false // request opening a new window.
); );
}; };

Wyświetl plik

@ -9306,8 +9306,7 @@ WatcherMorph.prototype.userMenu = function () {
inp.click(); inp.click();
} }
); );
if (this.currentValue && if (isString(this.currentValue) || !isNaN(+this.currentValue)) {
(isString(this.currentValue) || !isNaN(+this.currentValue))) {
menu.addItem( menu.addItem(
'export...', 'export...',
function () { function () {
@ -9315,8 +9314,7 @@ WatcherMorph.prototype.userMenu = function () {
ide.saveFileAs( ide.saveFileAs(
myself.currentValue.toString(), myself.currentValue.toString(),
'text/plain;charset=utf-8', 'text/plain;charset=utf-8',
myself.getter, // variable name myself.getter // variable name
true
); );
} }
); );