Buildfire: Remove Saving Popup - buildfire

Is there any way to disable the popup that says "saving" when saving to the datastore or publicData database? It's placement is interfering with something on my page.
Here is a screenshot of the popup:

I don't see this behavior in other plugins ... I checked a few plugins just now and the message is not displayed. Are you sure it's not something on your side of things?

Related

Unplugged Mobile Controls: Loading Button donĀ“t work

when using the unplugged mobile controls, in a view 20 entries were loaded in the Unp|FlatViewList Xpage (by default).
When i click on the "load more" button (or when I change the settings to "pull" instead of the button), no further entries were loaded, and no error occurs. I have this problem with the Browser (Firefox/Chrome) and with the iPhone.
Do you have any solutions for this issue?
Regards
Stefan
Does this help from the documentation?
The "Load More" function requires the presence of the XPage called UnpFlatViewList, it is this which is used by the control to perform Ajax requests to get each chunk of data to display to the user.
From this page http://unplugged.github.io/unplugged-controls/320/UnpFlatView.html
If not can you provide the XML from the XPage or Custom Control?
Please let me know if I can be of any further assistance.

customize the session message of liferay

I work with liferay 5.2 ,
Liferay display in case of inactivity this message
warning,due to inactivity,your session has espired.please save any data you may have entered before refreshing
I want to customize this message , I want to display this message:
Due to lack of use of the system will be closed
instead of default message,
and also I want to display this message in the middle of the page instead of top of the page.
so I think that I should modify the css of the div of this message in liferay
You need create hook of Language.properties file and change the default value for below key
warning-your-session-has-expired=Warning! Due to inactivity, your session has expired. Please save any data you may have entered before refreshing the page.
so you can put like this
warning-your-session-has-expired=Due to lack of use of the system will be closed.
Thanks
If you read the below link i think you will find your an answer:
Liferay User Feedback - Success and Error Messages in Portlets
This Can help you changing session out message in theme

Is there actually a way to open a popup on browser CLOSE?

I'm trying to launch a "logout" page if the usesr closes the browser...I've looked for a couple of days and I think I have looked at all of the related topics...tried quite a few...but so far, nothing is working the way I need it to...
Everything seems to trigger just navigating to the next page...I want to be able to navigate the site and NOTHING IF I LOG OUT...but if I CLOSE THE BROWSER (or the DOMAIN changes), I want to fire the logout page.
Actually, it really doesn't need to open a popup...but that would be my preference...
Thanks for any help in getting a definitive answer...
HOLD THE PHONE...
Just FYI...I found what seems to be working here:
[http://eureka.ykyuen.info/2011/02/22/jquery-javascript-capture-the-browser-or-tab-closed-event/][1]
...and it also seems that there are some very useful variations from contributers.
I also added a line to the original script to execute my logout page...
You should be able to add a listener using onbeforeunload and ask the user if they want to log out in the prompt https://developer.mozilla.org/en-US/docs/DOM/window.onbeforeunload

Chrome extension 2 questions

I have managed with my extension and using ajax call in the content script to call my server and get an answer back. But in the console I get a message like:
The page at https://www.injectedpage.com displayed insecure content from http://www.mywebsite.com/Script.asp
Is there something I can do to prevent this message appear?
One more question please.
If I distribute the .crx to other people, can they see my code in the .js page? I dont want them to know to which page in my server I post the data I send.
Thank you for reading me. And for your patience with me.
The first issue is due to the fact that the website you're injecting code into is https while your page is http. It's a security warning from Chrome that you can't hide.
Yes they can see your extension's complete code. You can obfuscate it but when you publish your extension you give the user the entire code.
If your extension has a popup thing from the toolbar, right click to inspect element and If it has a background page or something, you can inspect it from the extensions page (developer mode has to be checked)
To see all of the files of every extensions, a user can navigate to Chrome's extensions directory. For example, on Win7 it's
C:\Users\[username]\AppData\Local\Google\Chrome\User Data\Default\Extensions
User could also just rename your crx to zip and extract.

Browser navigation, back button issue

I want to know how you guys deal with back button issues in your web applications.
I can not forbid users to click back button on their browser, but when they hit it, the page code doesn't run. So writing in page_load() makes no sense.
I have searched online and found this link: Disabling Back button on the browser. It does not work for me. Any idea?
There is no way to disable the back button. You can try to open your page/form in a new window so there would be nothing to navigate back to
Normally, If I have a critical or lengthy form, I tend to maintain a dirty-flag and if the user starts entering something, the dirty-flag gets set and on save or submit it gets reset. You can use unload/beforeunload javascript event to see if the dirty-flag is set and ask for confirmation.

Resources