[prev in list] [next in list] [prev in thread] [next in thread] 

List:       bacula-commits
Subject:    [Bacula-commits] SF.net SVN: bacula: [5978]
From:       ricozz () users ! sourceforge ! net
Date:       2007-11-24 12:42:07
Message-ID: E1IvuKl-0006dS-ET () sc8-pr-svn2 ! sourceforge ! net
[Download RAW message or body]

Revision: 5978
          http://bacula.svn.sourceforge.net/bacula/?rev=5978&view=rev
Author:   ricozz
Date:     2007-11-24 04:42:06 -0800 (Sat, 24 Nov 2007)

Log Message:
-----------
ebl  update view when client change

Modified Paths:
--------------
    trunk/gui/bweb/html/bresto.js

Modified: trunk/gui/bweb/html/bresto.js
===================================================================
--- trunk/gui/bweb/html/bresto.js	2007-11-24 12:24:40 UTC (rev 5977)
+++ trunk/gui/bweb/html/bresto.js	2007-11-24 12:42:06 UTC (rev 5978)
@@ -107,7 +107,7 @@
 
     // set the root node
     var root = new Ext.tree.AsyncTreeNode({
-        text: 'Select a job',
+        text: 'Select a client then a job',
         draggable:false,
         id:'source'
     });
@@ -473,6 +473,16 @@
 
     client_combo.on('valid', function(e) { 
         Ext.brestore.client = e.getValue();
+        Ext.brestore.jobid=0;
+        Ext.brestore.jobdate = '';
+        Ext.brestore.root_path='';
+        job_combo.clearValue();
+        file_store.removeAll();
+        file_versions_store.removeAll();
+        root.collapse(false, false);
+        while(root.firstChild){
+            root.removeChild(root.firstChild);
+        }
         job_store.load( {params:{action: 'list_job',
                                  client:Ext.brestore.client}});
         return true;


This was sent by the SourceForge.net collaborative development platform, the world's \
largest Open Source development site.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bacula-commits mailing list
Bacula-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-commits


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic