...
|
...
|
@@ -4242,7 +4242,7 @@ App.prototype.loadFile = function (id, sameWindow, file, success, force) { |
4242
|
4242
|
PageSetupDialog.getFormats = function () {
|
4243
|
4243
|
if (platform === 'phone') {
|
4244
|
4244
|
pageFormat.width = 415
|
4245
|
|
- pageFormat.height = 737
|
|
4245
|
+ pageFormat.height = 737
|
4246
|
4246
|
return [
|
4247
|
4247
|
{ key: 'iPhone 8', title: 'iPhone 8', format: new mxRectangle(0, 0, 375, 667) },
|
4248
|
4248
|
{ key: 'iPhone 8 Plus', title: 'iPhone 8 Plus', format: new mxRectangle(0, 0, 415, 737) },
|
...
|
...
|
@@ -5050,7 +5050,7 @@ App.prototype.updateButtonContainer = function () { |
5050
|
5050
|
this.importButton.setAttribute('id', 'thingskitImportButton');
|
5051
|
5051
|
mxUtils.write(this.importButton, '导入');
|
5052
|
5052
|
mxEvent.addListener(this.importButton, 'click', mxUtils.bind(this, function () {
|
5053
|
|
- this.currentFile.ui.actions.get('open').funct()
|
|
5053
|
+ this.currentFile.ui.actions.get('open').funct()
|
5054
|
5054
|
}));
|
5055
|
5055
|
this.leftContainer.appendChild(this.importButton);
|
5056
|
5056
|
|
...
|
...
|
@@ -5161,12 +5161,14 @@ App.prototype.updateButtonContainer = function () { |
5161
|
5161
|
//Fetch notifications
|
5162
|
5162
|
if (urlParams['extAuth'] != '1') //Disable notification with external auth (e.g, Teams app)
|
5163
|
5163
|
{
|
5164
|
|
- this.fetchAndShowNotification('online', this.mode);
|
|
5164
|
+ // TODO thingskit close notify bell
|
|
5165
|
+ // this.fetchAndShowNotification('online', this.mode);
|
5165
|
5166
|
}
|
5166
|
5167
|
}
|
5167
|
5168
|
else if (urlParams['notif'] != null) //Notif for embed mode
|
5168
|
5169
|
{
|
5169
|
|
- this.fetchAndShowNotification(urlParams['notif']);
|
|
5170
|
+ // TODO thingskit close notify bell
|
|
5171
|
+ // this.fetchAndShowNotification(urlParams['notif']);
|
5170
|
5172
|
}
|
5171
|
5173
|
} else {
|
5172
|
5174
|
if (!hasSavePermission()) {
|
...
|
...
|
|