[jbosstools-issues] [JBoss JIRA] (JBIDE-18329) Ionic, tabs, CordovaSim, LiveReload, lost back button

Ilya Buziuk (JIRA) issues at jboss.org
Wed Sep 17 14:09:02 EDT 2014


    [ https://issues.jboss.org/browse/JBIDE-18329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13003606#comment-13003606 ] 

Ilya Buziuk commented on JBIDE-18329:
-------------------------------------

< If ionic app runs on real device there will be no chance to do refresh, so back button will not disappear
[~burrsutter], [~kmarmaliykov] Actually it is pretty easy to perform refresh on the device. Here is the updated *friend-detail.html* with refresh option:
{code:title=friend-detail.html|borderStyle=solid}
<ion-view title="{{friend.name}}">
  <ion-content has-header="true" padding="true">
    <a href="javascript:location.reload(true)">Refresh this page</a>
  </ion-content>
</ion-view>
{code}
If you run the modified app on the device, navigate to the 'friend-detail.html' and hit the 'Refresh this page' -  the back button will disappear. So, CordovaSim works like the device - it's an ionic refresh side effect. However, in terms of CordovaSim this side-effect is very annoying cause it's expected that the back button will stay on it's place. Need to think how we are supposed to handle it

> Ionic, tabs, CordovaSim, LiveReload, lost back button
> -----------------------------------------------------
>
>                 Key: JBIDE-18329
>                 URL: https://issues.jboss.org/browse/JBIDE-18329
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: browsersim
>    Affects Versions: 4.2.0.CR1
>            Reporter: Burr Sutter
>            Assignee: Ilya Buziuk
>             Fix For: 4.2.0.CR2
>
>
> Using Ionic tabs starter/template
> LiveReload
> CordovaSim
> to edit friend-detail.html
> works almost awesome...but for the disappearing Back button
> http://www.screencast.com/t/APqNTq7K3c



--
This message was sent by Atlassian JIRA
(v6.3.1#6329)


More information about the jbosstools-issues mailing list