[CLOSED] Refresh content minimized destopwindow

  1. #1

    [CLOSED] Refresh content minimized destopwindow

    Hi,

    I refresh the contents of all open desktopwindow like this: (excludewindow is a windowname I don't want to refresh)

            function refreshWindowsAll(excludeWindow) {
                MyDesktop.getDesktop().getManager().each(function (opElement) {
                    if (opElement.isVisible() && !(opElement.getItemId().toString() == excludeWindow)) {
                       opElement.reload();
                    }
                });
            };
    But the content of the minimized windows isn't reloaded (and that is what I like to happen)

    Any thoughts ?

    Martin
    Last edited by Daniil; Jun 12, 2012 at 4:24 PM. Reason: [CLOSED]
  2. #2
    Hi,

    Well, a minimized window means a hidden one. So, all minimized windows are excluded here:
    opElement.isVisible()
    Probably, you should remove that condition.
  3. #3
    Duh..

    The easiest solution ever, right under my nose :)
    Thanks Daniil..

    Mark as solved,

    Martin

Similar Threads

  1. Refresh content page only
    By macmilanfly in forum 1.x Help
    Replies: 0
    Last Post: Jul 19, 2012, 6:36 AM
  2. Replies: 22
    Last Post: May 04, 2012, 11:49 AM
  3. Hide the minimized window from the taskbar
    By xtremexploit in forum 1.x Help
    Replies: 1
    Last Post: Nov 24, 2011, 12:46 PM
  4. [CLOSED] IE9 Refresh window content
    By CarWise in forum 1.x Legacy Premium Help
    Replies: 19
    Last Post: May 19, 2011, 12:47 PM
  5. Refresh ext:Panel content
    By reiben in forum 1.x Help
    Replies: 3
    Last Post: Mar 29, 2011, 5:01 PM

Posting Permissions