Page 1 of 2

Back/Close Buttons Not Working

Posted: Fri Oct 25, 2013 4:55 pm
by Doug Black

I put two sliding panels in my app. Each of the buttons on the sliding panel navigate where they need to go just fine. However, the back buttons don't work on the pages that are navigated to, and the close buttons on pop-ups that open don't close.

Console returns: "Uncaught TypeError: object is not a function"

Any thoughts?


Back/Close Buttons Not Working

Posted: Fri Oct 25, 2013 6:26 pm
by Kateryna Grynko

Hi Doug,

Please give us a public app link and tell how to reproduce the error.


Back/Close Buttons Not Working

Posted: Fri Oct 25, 2013 6:29 pm
by Doug Black

http://appery.io/app/mobile-frame?src...

On the screen, click a name in the list. Click "Edit Child" on sliding panel. Back button will not work.

OR

On screen, click ADMIN button. Click any button (except close) on sliding panel. Back button, or close button in case of pop ups, do not work.


Back/Close Buttons Not Working

Posted: Fri Oct 25, 2013 8:41 pm
by Kateryna Grynko

Doug,

What credentials can we use to test the app itself?


Back/Close Buttons Not Working

Posted: Fri Oct 25, 2013 10:29 pm
by Doug Black

Username: Test (UPPERCASE T)
Password: test (lowercase t)


Back/Close Buttons Not Working

Posted: Sat Oct 26, 2013 12:28 pm
by Igor

Hello,

We will test but it will take some time.


Back/Close Buttons Not Working

Posted: Mon Oct 28, 2013 2:51 pm
by Kateryna Grynko

Hi Doug,

There is no addChild page in your app. Please undo all source changes on Source tab.


Back/Close Buttons Not Working

Posted: Mon Oct 28, 2013 8:17 pm
by Doug Black

The addChild is a pop up. It opens the pop up just fine, but no back button.

I was able to make it work somewhat by creating the panel when you go to open it. Still having issues though


Back/Close Buttons Not Working

Posted: Mon Oct 28, 2013 9:40 pm
by Maryna Brodina

Hello! There is an error in your code on RunEvent Load event:
preleadPanel = new leadPanel();/pre
so leadPanel not a function defined in leadPanelEvents file anymore, but an object returned by this function. That's why when you visit RunEvent page again this code is invoked on Load event again, but as leadPanel is an object (not a function) you recieve this error.


Back/Close Buttons Not Working

Posted: Mon Oct 28, 2013 9:55 pm
by Doug Black

Thanks Katya and Maryna! Worked perfect!