Back button in Confirmation Delegate

Former Member
Former Member

Hi everybody,

I'm trying to create a confirmation menu that doesn't close the app when you press the back button during confirmation.

I tried popView(...) but it always closes my app.

So I tried that but nothing appends

     function onResponse(response) {
        if (response == WatchUi.CONFIRM_NO) {
            WatchUi.pushView(new WorkView(), new WorkDelegate(true), WatchUi.SLIDE_UP);
            return true;
        }
Does anyone know why and how I should do this ?
Thanks
  • I had a similar issue today. It turned out that at the time the menu's callback is called the menu view is already popped, so all I had to do is "not doing anything" an return. In your case probably you should return true, otherwise the default will close the app.