1
0
mirror of https://github.com/nerzhul/ocsms.git synced 2025-06-07 07:56:23 +00:00

Fix angular ng-app load

This commit is contained in:
Loic Blot 2015-01-09 16:29:44 +00:00
parent 0b227c64f1
commit 8b7aa4962c
2 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@ var unreadCountNotifStep = 12;
var lastUnreadCountAllConv = 0;
var originalTitle = document.title;
angular.module('ocsms', ['OC']);
angular.module('OcSms', ['OC']);
$.urlParam = function(name){
var results = new RegExp('[\?&]' + name + '=([^&#]*)').exec(window.location.href);

View File

@ -7,7 +7,7 @@ use \OCA\OcSms\Lib\CountryCodes;
\OCP\Util::addStyle('ocsms', 'style');
?>
<div class="ng-scope" id="app">
<div class="ng-scope" id="app" ng-app="OcSms">
<div id="app-mailbox-peers">
<ul>
<li><div id="ocsms-empty-peers">There isn't any conversation</div></li>