0

Disable the progressbox when the app starts

asked 2013-10-16 14:38:52 +0800

andij62 gravatar image andij62
303 1 7

Hi,

my app is included in a third-party-web-site and ist is not good when the progressbox "Processing..." is shown when the app starts. Is it possible to disable the progressbox during the app starts?

Regards Andi

delete flag offensive retag edit

Comments

Hi sjoshi,

i mean the Progressbox (Processing...) not the "ZK Powered Logo" shown in the right corner!

andij62 ( 2013-10-17 10:46:51 +0800 )edit

Can someone help me?

andij62 ( 2013-10-19 19:16:10 +0800 )edit

1 Answer

Sort by » oldest newest most voted
0

answered 2013-10-21 06:20:02 +0800

sjoshi gravatar image sjoshi flag of India
3493 1 8
http://zkframeworkhint.bl...

Try to overirde the JS code Create a new JS file and add below code .

  zk.procDelay = 350;
    if (!zUtl.oldProgressbox) {
        zUtl.oldProgressbox = zUtl.progressbox;
        zUtl.progressbox = function(id, msg, mask, icon, _opts) {
            if(getCookie("language")=="fr_ca") {
                zUtl.oldProgressbox(id, "Traitement de votre demande, s'il vous plaît patienter ...", true, icon, _opts);
            } else {
                zUtl.oldProgressbox(id, 'Processing your request, please wait...', true, icon, _opts);
            }
        }
    }

You have add above JS file in lang-addon.xml

<javascript src="/resource/js/progressbox.js" />
link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
2 followers

RSS

Stats

Asked: 2013-10-16 14:38:52 +0800

Seen: 36 times

Last updated: Oct 21 '13

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More