kopia lustrzana https://github.com/backface/turtlestitch
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
rodzic
914fa842d6
commit
63598c3994
3
gui.js
3
gui.js
|
@ -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.
|
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -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
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
Ładowanie…
Reference in New Issue