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(
'<!DOCTYPE html>' + html.toString(),
'text/html;charset=utf-8',
pname,
false // request opening a new window.
pname
);
};

Wyświetl plik

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