mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-08 17:07:03 +03:00
Small fixes
This commit is contained in:
parent
48c2f7807d
commit
a60c2014b0
9 changed files with 203 additions and 203 deletions
|
|
@ -21,9 +21,9 @@ function PopupsComposeViewModel()
|
|||
self = this,
|
||||
oRainLoopData = RL.data(),
|
||||
fCcAndBccCheckHelper = function (aValue) {
|
||||
if (false === this.showCcAndBcc() && 0 < aValue.length)
|
||||
if (false === self.showCcAndBcc() && 0 < aValue.length)
|
||||
{
|
||||
this.showCcAndBcc(true);
|
||||
self.showCcAndBcc(true);
|
||||
}
|
||||
}
|
||||
;
|
||||
|
|
|
|||
|
|
@ -505,8 +505,8 @@ PopupsContactsViewModel.prototype.populateViewContact = function (oContact)
|
|||
this.viewScopeType(oContact.scopeType);
|
||||
}
|
||||
|
||||
aList.unshift(new ContactPropertyModel(Enums.ContactPropertyType.FirstName, sFirstName, false, 'CONTACTS/PLACEHOLDER_ENTER_FIRST_NAME'));
|
||||
aList.unshift(new ContactPropertyModel(Enums.ContactPropertyType.LastName, sLastName, !oContact, 'CONTACTS/PLACEHOLDER_ENTER_LAST_NAME'));
|
||||
aList.unshift(new ContactPropertyModel(Enums.ContactPropertyType.FirstName, sFirstName, false, 'CONTACTS/PLACEHOLDER_ENTER_FIRST_NAME'));
|
||||
|
||||
this.viewID(sId);
|
||||
this.viewIDStr(sIdStr);
|
||||
|
|
|
|||
|
|
@ -140,7 +140,7 @@ class Contact
|
|||
$sDisplay = '';
|
||||
if (0 < \strlen($sLastName) || 0 < \strlen($sFirstName))
|
||||
{
|
||||
$sDisplay = \trim($sLastName.' '.$sFirstName);
|
||||
$sDisplay = \trim($sFirstName.' '.$sLastName);
|
||||
}
|
||||
|
||||
if ('' === $sDisplay && 0 < \strlen($sEmail))
|
||||
|
|
|
|||
6
rainloop/v/0.0.0/static/js/admin.min.js
vendored
6
rainloop/v/0.0.0/static/js/admin.min.js
vendored
File diff suppressed because one or more lines are too long
|
|
@ -7584,9 +7584,9 @@ function PopupsComposeViewModel()
|
|||
self = this,
|
||||
oRainLoopData = RL.data(),
|
||||
fCcAndBccCheckHelper = function (aValue) {
|
||||
if (false === this.showCcAndBcc() && 0 < aValue.length)
|
||||
if (false === self.showCcAndBcc() && 0 < aValue.length)
|
||||
{
|
||||
this.showCcAndBcc(true);
|
||||
self.showCcAndBcc(true);
|
||||
}
|
||||
}
|
||||
;
|
||||
|
|
@ -9549,8 +9549,8 @@ PopupsContactsViewModel.prototype.populateViewContact = function (oContact)
|
|||
this.viewScopeType(oContact.scopeType);
|
||||
}
|
||||
|
||||
aList.unshift(new ContactPropertyModel(Enums.ContactPropertyType.FirstName, sFirstName, false, 'CONTACTS/PLACEHOLDER_ENTER_FIRST_NAME'));
|
||||
aList.unshift(new ContactPropertyModel(Enums.ContactPropertyType.LastName, sLastName, !oContact, 'CONTACTS/PLACEHOLDER_ENTER_LAST_NAME'));
|
||||
aList.unshift(new ContactPropertyModel(Enums.ContactPropertyType.FirstName, sFirstName, false, 'CONTACTS/PLACEHOLDER_ENTER_FIRST_NAME'));
|
||||
|
||||
this.viewID(sId);
|
||||
this.viewIDStr(sIdStr);
|
||||
|
|
|
|||
14
rainloop/v/0.0.0/static/js/app.min.js
vendored
14
rainloop/v/0.0.0/static/js/app.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue