webclient: Tweak namespace of auto-complete directive. ng- should really only be used for official ng directives.
This commit is contained in:
parent
71584930cb
commit
f65176564f
|
@ -16,7 +16,7 @@ limitations under the License.
|
|||
|
||||
angular.module('RoomController', ['ngSanitize'])
|
||||
|
||||
.directive('ngAutoComplete', ['$timeout', function ($timeout) {
|
||||
.directive('autoComplete', ['$timeout', function ($timeout) {
|
||||
return function (scope, element, attrs) {
|
||||
element.bind("keydown keypress", function (event) {
|
||||
// console.log("event: " + event.which);
|
||||
|
|
|
@ -59,7 +59,7 @@
|
|||
{{ state.user_id }}
|
||||
</td>
|
||||
<td width="*" style="min-width: 100px">
|
||||
<input id="mainInput" ng-model="textInput" ng-enter="send()" ng-focus="true" ng-auto-complete/>
|
||||
<input id="mainInput" ng-model="textInput" ng-enter="send()" ng-focus="true" auto-complete/>
|
||||
</td>
|
||||
<td width="1">
|
||||
<button ng-click="send()">Send</button>
|
||||
|
|
Loading…
Reference in New Issue