mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
ionic.views.Modal.prototype.show was not being called
This commit is contained in:
2
js/ext/angular/src/service/ionicModal.js
vendored
2
js/ext/angular/src/service/ionicModal.js
vendored
@@ -103,6 +103,8 @@ angular.module('ionic.service.modal', ['ionic.service.templateLoad', 'ionic.serv
|
||||
self.hide();
|
||||
}, 200);
|
||||
|
||||
ionic.views.Modal.prototype.show.call(this);
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
|
||||
@@ -15,6 +15,16 @@
|
||||
</ion-header-bar>
|
||||
<ion-content has-header="true">
|
||||
<ion-list>
|
||||
|
||||
<div class="item item-input-inset">
|
||||
<label class="item-input-wrapper">
|
||||
<input ng-focus="openModal()" type="text" placeholder="Email">
|
||||
</label>
|
||||
<button class="button button-small">
|
||||
Cancel
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<ion-item ng-repeat="contact in contacts">
|
||||
{{contact.name}}
|
||||
</ion-item>
|
||||
|
||||
Reference in New Issue
Block a user