PreRelease fixes

This commit is contained in:
RainLoop Team 2015-07-05 22:06:19 +04:00
parent 34a9b8cbc5
commit 42bac6aa2f
55 changed files with 578 additions and 238 deletions

View file

@ -33,10 +33,12 @@
this.identityForDeletion = ko.observable(null).deleteAccessHelper();
}
AccountsUserSettings.prototype.scrollableOptions = function ()
AccountsUserSettings.prototype.scrollableOptions = function (sWrapper)
{
return {
handle: '.drag-handle'
handle: '.drag-handle',
containment: sWrapper || 'parent',
axis: 'y'
};
};

View file

@ -110,10 +110,12 @@
}, this);
}
FiltersUserSettings.prototype.scrollableOptions = function ()
FiltersUserSettings.prototype.scrollableOptions = function (sWrapper)
{
return {
handle: '.drag-handle'
handle: '.drag-handle',
containment: sWrapper || 'parent',
axis: 'y'
};
};

View file

@ -6,6 +6,7 @@
var
_ = require('_'),
ko = require('ko'),
window = require('window'),
Utils = require('Common/Utils'),
@ -24,6 +25,8 @@
this.openpgpkeysPrivate = PgpStore.openpgpkeysPrivate;
this.openPgpKeyForDeletion = ko.observable(null).deleteAccessHelper();
this.isHttps = window.document && window.document.location ? 'https:' === window.document.location.protocol : false;
}
OpenPgpUserSettings.prototype.addOpenPgpKey = function ()

View file

@ -31,10 +31,12 @@
this.templateForDeletion = ko.observable(null).deleteAccessHelper();
}
TemplatesUserSettings.prototype.scrollableOptions = function ()
TemplatesUserSettings.prototype.scrollableOptions = function (sWrapper)
{
return {
handle: '.drag-handle'
handle: '.drag-handle',
containment: sWrapper || 'parent',
axis: 'y'
};
};