Author: mona
Date: Tue Apr 16 01:13:03 2013
New Revision: 1468286

URL: http://svn.apache.org/r1468286
Log:
OOZIE-1322 show child job URL tab selectively for pig action (ryota via mona)

Modified:
    oozie/trunk/release-log.txt
    oozie/trunk/webapp/src/main/webapp/oozie-console.js

Modified: oozie/trunk/release-log.txt
URL: 
http://svn.apache.org/viewvc/oozie/trunk/release-log.txt?rev=1468286&r1=1468285&r2=1468286&view=diff
==============================================================================
--- oozie/trunk/release-log.txt (original)
+++ oozie/trunk/release-log.txt Tue Apr 16 01:13:03 2013
@@ -1,5 +1,6 @@
 -- Oozie 4.1.0 release (trunk - unreleased)
 
+OOZIE-1322 show child job URL tab selectively for pig action (ryota via mona)
 OOZIE-1307 Cover package org.apache.oozie.action.ssh with unit tests 
(vbondarev via rkanter)
 OOZIE-1317 TestEventGeneration.testCoordinatorActionEvent fails (mona)
 OOZIE-1292 Add Hadoop 0.23 Poms in hadooplibs to enable a build/tests against 
branch 0.23 (mona)

Modified: oozie/trunk/webapp/src/main/webapp/oozie-console.js
URL: 
http://svn.apache.org/viewvc/oozie/trunk/webapp/src/main/webapp/oozie-console.js?rev=1468286&r1=1468285&r2=1468286&view=diff
==============================================================================
--- oozie/trunk/webapp/src/main/webapp/oozie-console.js (original)
+++ oozie/trunk/webapp/src/main/webapp/oozie-console.js Tue Apr 16 01:13:03 2013
@@ -533,13 +533,6 @@ function jobDetailsPopup(response, reque
                             autoScroll: true,
                             value: actionStatus["conf"]
                         })
-                    }, {
-                        title: 'Child Job URLs',
-                        autoScroll: true,
-                        frame: true,
-                        labelAlign: 'right',
-                        labelWidth: 70,
-                        items: urlUnit
                     }],
                     tbar: [{
                         text: "   ",
@@ -550,6 +543,20 @@ function jobDetailsPopup(response, reque
                     }]
                 })]
             });
+            
+            // Tab to show list of child Job URLs for pig action
+            var childJobsItem = {
+                               title : 'Child Job URLs',
+                               autoScroll : true,
+                               frame : true,
+                               labelAlign : 'right',
+                               labelWidth : 70,
+                               items : urlUnit
+                       };
+            if (actionStatus.type == "pig") {
+                               var tabPanel = win.items.get(0);
+                               tabPanel.add(childJobsItem);
+                       }
             win.setPosition(50, 50);
             win.show();
         }


Reply via email to