Commit 78a8b6bdc9ff75266eccbff4275529a690374073

Authored by ww
1 parent 6077395a

fix: close notify

... ... @@ -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()) {
... ...
... ... @@ -58,7 +58,8 @@ Draw.loadPlugin(function(ui)
58 58 macroData.diagramDisplayName = data.title;
59 59
60 60 //Fetch notifications
61   - ui.fetchAndShowNotification('conf');
  61 + // TODO thingskit close notify bell
  62 + // ui.fetchAndShowNotification('conf');
62 63 }
63 64 }
64 65 catch (e)
... ...
... ... @@ -1917,4 +1917,4 @@ table.geProperties tr td {
1917 1917
1918 1918 .geMaximized #max-button {
1919 1919 display: none;
1920   -}
\ No newline at end of file
  1920 +}
... ...