jquery mobile basic modal dialog intermittently reloads on close - dialog

I have a very basic jquery mobile modal dialog that INTERMITTENTLY reloads on clicking "close". This happens across all devices but not on desktop browsers.
The close button always works, but the dialog will pop back up randomly.
Anyone esle experience this. I'd post this on the jquery mobile forum but new registration is broken right now.

So, it's code related but the code won't tell you the what the problem is. The close button on the dialog was directly over the dialog's open button. So when you pressed close, the button beneath it was also being activated to open the dialog again. I moved the position of the close button to not be on top of the open button and that solved it. However, the bigger issue is having touch events read through all layers.

Related

Buildfire: Android native back button not working as expected

For my Android Buildfire app, I am using buildfire.history to navigate between screens within my plugin. Using the Buildfire built-in back button in the title bar works fine and correctly pops the history when pressed. However, when Android's native back button is pressed, it does not pop the history and instead seems to want to exit the plugin (which is especially a problem on the home screen as it exits the app no matter how many breadcrumbs have been pushed).
I would expect this to work the exact same as the built-in back button. Is this a bug in buildfire? I even made a super simple plugin to test the history navigation and it is an issue.

Opening new window or Message Box in WPF using MVVM

I am new in wpf MVVM. i want to developed a simple application that have a login window and Main Window. When user can login success then open the main window, If user can wrong input then show a message box for alert
I've had same problem, and this link saved me a lot of time...
I forgot to mention, you have to use MVVMLight Library which also saved me a lot of code :-D
I hope I've answered your question.

How to close tabris application

Is it possible to minimize or close tabris application (client side) ?
I wanna accomplish the same behavior that is implement on hardware control. (back button on top level page or home button) but I wanna invoke this when a certain criteria in my app is satisfied.
Thnx
On ios you can not close an application. On Android closing the last open shell (eg by pressing the back button or programmatic) also closes the app.

Making extension always opened once the user clicked in the extension icon, only close when the extension icon is clicked

I want my extension, once it is opened (clicked on the icon), to only be closed when the user click on my extension icon , like it happens when you have developer mode on and 'Inspect Pop-up', when it's in developer mode you can only close your extension after you click in the icon of it in the chrome.
I would like to make it visible until the user click on the extension icon (not any click outside) to close it but without having to have the developer mode on.
or if this is not possible I would like to at least once my extension is clicked, make my extension active so it can deal with the chrome.webRequest.onBeforeRequest.addListener()
Thanks in advance.
Take a look at background pages. As the documentation says a background page is
a single long-running script to manage some task or state
It should work if your aim is to achieve such a task.
Maybe, Desktop Notifications are some kind of decision.

JavaFx 2.0 WebEngine component's Popup Handler not opening a new window for Skype button, also not connecting to skype for a phone call

I need to create a popup handler that opens an external window. How can I do this? The default opens the popup in the same webview, and there is no code in the JavaFx learning trail to provide me a general idea or anything. The origin of the popup request comes from a skype button widget. When the user clicks the widget a new "window" (stage) needs to open and the popup must be included within the new stage. The stage is just a composition of a Webview and its engine.
This should happen if the user does not have skype. If the user has skype then skype should open and connect the phone call. Neither is happening.
Update: I also asked in the JavaFx 2.0 forum and got an answer. Here it is. (I'll move it to the Answer area as soon as I can):
https://forums.oracle.com/forums/thread.jspa?threadID=2323123&tstart=0
It still wont open skype and connect for a phone call or open a popup to install skype.
Although the Javascript widget does open skype and connects for a phone call if I open the widget inside a browser in standalone mode.
Therefore it is an issue with the JavaFx 2.0 web app.
Any help is greatly appreciated.
AFAIK, to make calls from the browser Skype needs plugin named "Click to Call" to be installed into the browser.
But there is no such plugin for JavaFX WebView, so you can't have Skype "click-to-call" functionality inside webview.

Resources