mirror of
https://github.com/nerzhul/ocsms.git
synced 2025-06-08 16:36:25 +00:00
HTML style & undef function fix
This commit is contained in:
parent
b9fba16893
commit
49cc81db8c
@ -269,7 +269,7 @@ app.controller('OcSmsController', ['$scope', '$interval', '$timeout', '$compile'
|
||||
var len = $scope.contacts.length;
|
||||
for (var i=0; i < len; i++) {
|
||||
if ($scope.contacts[i]['nav'] == ct['nav']) {
|
||||
$scope.apply(function () {
|
||||
$scope.$apply(function () {
|
||||
$scope.contacts[i].unread = ct.unread;
|
||||
if (typeof(ct.avatar) != 'undefined') {
|
||||
$scope.contacts[i].avatar = ct.avatar;
|
||||
|
@ -22,7 +22,7 @@ use \OCA\OcSms\Lib\CountryCodes;
|
||||
</div>
|
||||
<div id="app-settings-content">
|
||||
<div><label for="setting_msg_per_page">Max messages on tab loading</label>
|
||||
<input type="number" min="10" max="10000" name="setting_msg_per_page" ng-model="setting_msgLimit" ng-change="setMessageLimit()"></input>
|
||||
<input type="number" min="10" max="10000" name="setting_msg_per_page" ng-model="setting_msgLimit" ng-change="setMessageLimit()" />
|
||||
<span class="label-invalid-input" ng-if="setting_msgLimit == null || setting_msgLimit == undefined">Invalid message limit</span>
|
||||
</div>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user