This commit is contained in:
tiago.kayaya
2021-04-01 16:11:35 +01:00
parent 3117b38efb
commit ec2b1f307e
4 changed files with 5 additions and 4 deletions
+2 -1
View File
@@ -3,7 +3,7 @@
<name>gabinete digital</name> <name>gabinete digital</name>
<description>An awesome Ionic/Cordova app.</description> <description>An awesome Ionic/Cordova app.</description>
<author email="hi@ionicframework.com" href="http://ionicframework.com/">Ionic Framework Team</author> <author email="hi@ionicframework.com" href="http://ionicframework.com/">Ionic Framework Team</author>
<content src="index.html" /> <content original-src="index.html" src="http://localhost:8101" />
<access origin="*" /> <access origin="*" />
<allow-navigation href="http://*/*" /> <allow-navigation href="http://*/*" />
<allow-navigation href="https://*/*" /> <allow-navigation href="https://*/*" />
@@ -143,4 +143,5 @@
<mfp:APIproxyURL>/adapters/MobileAPIProxy</mfp:APIproxyURL> <mfp:APIproxyURL>/adapters/MobileAPIProxy</mfp:APIproxyURL>
<mfp:SDKProtocolVersion>2</mfp:SDKProtocolVersion> <mfp:SDKProtocolVersion>2</mfp:SDKProtocolVersion>
<allow-navigation href="http://localhost:8100" sessionid="9714472a" /> <allow-navigation href="http://localhost:8100" sessionid="9714472a" />
<allow-navigation href="http://localhost:8101" sessionid="4721f88c" />
</widget> </widget>
@@ -59,7 +59,7 @@
<h5>Detalhes</h5> <h5>Detalhes</h5>
<ion-item class="ion-no-margin ion-no-padding"> <ion-item class="ion-no-margin ion-no-padding">
<ion-label> <ion-label>
<p [innerHTML]="loadedEvent.Body.Text"></p> <ion-label [innerHTML]="loadedEvent.Body.Text"></ion-label>
</ion-label> </ion-label>
</ion-item> </ion-item>
</div> </div>
@@ -108,7 +108,7 @@ export class ExpedienteDetailPage implements OnInit {
viewDocument(){ viewDocument(){
const url: string = this.task.DocumentURL.replace("webTRIX.Viewer","webTRIX.Viewer.Branch1"); const url: string = this.task.DocumentURL.replace("webTRIX.Viewer","webTRIX.Viewer.Branch1");
const browser = this.iab.create(url,"_parent"); const browser = this.iab.create(url,"_blank");
browser.show(); browser.show();
} }
@@ -101,7 +101,7 @@ export class ExpedientePage implements OnInit {
viewDocument(){ viewDocument(){
const url: string = this.task.DocumentURL.replace("webTRIX.Viewer","webTRIX.Viewer.Branch1"); const url: string = this.task.DocumentURL.replace("webTRIX.Viewer","webTRIX.Viewer.Branch1");
const browser = this.iab.create(url,"_parent"); const browser = this.iab.create(url,"_blank");
browser.show(); browser.show();
} }