From 8af2140e7ae3d8313579fe7a155870286539e63b Mon Sep 17 00:00:00 2001 From: RainLoop Team Date: Sat, 4 Oct 2014 16:07:12 +0400 Subject: [PATCH] Fixed Swedish flag --- dev/Storage/Admin/Data.js | 2 +- dev/View/Popup/Compose.js | 3 --- vendors/flags/flags-fixed.css | 2 +- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/dev/Storage/Admin/Data.js b/dev/Storage/Admin/Data.js index 710dd4c58..95dba59cc 100644 --- a/dev/Storage/Admin/Data.js +++ b/dev/Storage/Admin/Data.js @@ -48,7 +48,7 @@ this.licenseTrigger = ko.observable(false); this.adminManLoading = ko.computed(function () { - return '000' !== [this.domains.loading() ? '1' : '0', this.plugins.loading() ? '1' : '0', this.packagesLoading() ? '1' : '0'].join(''); + return '000' !== [this.domains.loading() ? '1' : '0', this.plugins.loading() ? '1' : '0', this.packages.loading() ? '1' : '0'].join(''); }, this); this.adminManLoadingVisibility = ko.computed(function () { diff --git a/dev/View/Popup/Compose.js b/dev/View/Popup/Compose.js index cde75cc48..ff8fec2fc 100644 --- a/dev/View/Popup/Compose.js +++ b/dev/View/Popup/Compose.js @@ -1481,7 +1481,6 @@ if (oMessage) { var - self = this, oAttachment = null, sTemp = oMessage.subject() ; @@ -1506,7 +1505,6 @@ ComposePopupView.prototype.addDropboxAttachment = function (oDropboxFile) { var - self = this, oAttachment = null, iAttachmentSizeLimit = Utils.pInt(Settings.settingsGet('AttachmentLimit')), mSize = oDropboxFile['bytes'] @@ -1561,7 +1559,6 @@ ComposePopupView.prototype.addDriveAttachment = function (oDriveFile, sAccessToken) { var - self = this, iAttachmentSizeLimit = Utils.pInt(Settings.settingsGet('AttachmentLimit')), oAttachment = null, mSize = oDriveFile['fileSize'] ? Utils.pInt(oDriveFile['fileSize']) : 0 diff --git a/vendors/flags/flags-fixed.css b/vendors/flags/flags-fixed.css index 47b12386d..391ea9aa1 100644 --- a/vendors/flags/flags-fixed.css +++ b/vendors/flags/flags-fixed.css @@ -28,7 +28,7 @@ .flag.flag-lv, .flag.flag-lv-lv {background-position: -112px -88px} .flag.flag-hu, .flag.flag-hu-hu {background-position: -32px -66px} .flag.flag-sk, .flag.flag-sk-sk {background-position: -144px -132px} -.flag.flag-sv, .flag.flag-sv-sv, .flag.flag-sv-se {background-position: -32px -143px} +.flag.flag-sv, .flag.flag-sv-sv, .flag.flag-sv-se {background-position: -80px -132px} .flag.flag-sl, .flag.flag-sl-si, .flag.flag-sl-sl {background-position: -160px -132px} .flag.flag-ua, .flag.flag-ua-ua, .flag.flag-uk-ua {background-position: -96px -154px}