Author: mona
Date: Wed Jan 16 02:50:26 2013
New Revision: 1433808
URL: http://svn.apache.org/viewvc?rev=1433808&view=rev
Log:
OOZIE-1053 Oozie Web-console clicking on Bundle's coord jobs does not open them
up (ryota via mona)
Modified:
oozie/branches/hcat-intre/release-log.txt
oozie/branches/hcat-intre/webapp/src/main/webapp/oozie-console.js
Modified: oozie/branches/hcat-intre/release-log.txt
URL:
http://svn.apache.org/viewvc/oozie/branches/hcat-intre/release-log.txt?rev=1433808&r1=1433807&r2=1433808&view=diff
==============================================================================
--- oozie/branches/hcat-intre/release-log.txt (original)
+++ oozie/branches/hcat-intre/release-log.txt Wed Jan 16 02:50:26 2013
@@ -1,5 +1,6 @@
-- Oozie 3.4.0 release (trunk - unreleased)
+OOZIE-1053 Oozie Web-console clicking on Bundle's coord jobs does not open
them up (ryota via mona)
OOZIE-1161 Remove unnecessary db updates for some of the blobs like
missing_dependencies' of Coordinator Action(virag)
OOZIE-1156 Make all the latest/future instances as pull dependences (virag)
OOZIE-1144 OOZIE-1137 breaks the sharelib (rkanter)
Modified: oozie/branches/hcat-intre/webapp/src/main/webapp/oozie-console.js
URL:
http://svn.apache.org/viewvc/oozie/branches/hcat-intre/webapp/src/main/webapp/oozie-console.js?rev=1433808&r1=1433807&r2=1433808&view=diff
==============================================================================
--- oozie/branches/hcat-intre/webapp/src/main/webapp/oozie-console.js (original)
+++ oozie/branches/hcat-intre/webapp/src/main/webapp/oozie-console.js Wed Jan
16 02:50:26 2013
@@ -80,7 +80,7 @@ function checkUrl(value, metadata, recor
return "N";
}
}
-
+
function getTimeZone() {
Ext.state.Manager.setProvider(new Ext.state.CookieProvider());
return Ext.state.Manager.get("TimezoneId","GMT");
@@ -1048,7 +1048,6 @@ function coordJobDetailsPopup(response,
}
function bundleJobDetailsPopup(response, request) {
-
var jobDefinitionArea = new Ext.form.TextArea({
fieldLabel: 'Definition',
editable: false,
@@ -1113,7 +1112,7 @@ function bundleJobDetailsPopup(response,
value: jobDetails["group"]
}, ]
});
-
+
var fs = new Ext.FormPanel({
frame: true,
labelAlign: 'right',
@@ -1137,7 +1136,7 @@ function bundleJobDetailsPopup(response,
}]
});
-
+
var coord_jobs_grid = new Ext.grid.GridPanel({
store: jobActionStatus,
loadMask: true,
@@ -1200,10 +1199,14 @@ function bundleJobDetailsPopup(response,
height: 400,
width: 1000,
title: 'Coord Jobs',
- bbar: getPagingBar(jobActionStatus)
-
+ bbar: getPagingBar(jobActionStatus),
+ listeners: {
+ cellclick: {
+ fn: showCoordJobContextMenu
+ }
+ }
});
-
+
var jobDetailsTab = new Ext.TabPanel({
activeTab: 0,
autoHeight: true,
@@ -1213,7 +1216,7 @@ function bundleJobDetailsPopup(response,
items: fs
}]
});
-
+
jobDetailsTab.addListener("tabchange", function(panel, selectedTab) {
if (selectedTab.title == "Bundle Job Info") {
coord_jobs_grid.setVisible(true);
@@ -1732,25 +1735,25 @@ var timeZones_store = new Ext.data.JsonS
});
timeZones_store.proxy.conn.method = "GET";
+function showCoordJobContextMenu(thisGrid, rowIndex, cellIndex, e) {
+ var jobContextMenu = new Ext.menu.Menu('taskContext');
+ var coordJobId = thisGrid.store.data.items[rowIndex].data.coordJobId;
+ coordJobDetailsGridWindow(coordJobId);
+}
+
function initConsole() {
function showJobContextMenu(thisGrid, rowIndex, cellIndex, e) {
var jobContextMenu = new Ext.menu.Menu('taskContext');
var workflowId = thisGrid.store.data.items[rowIndex].data.id;
jobDetailsGridWindow(workflowId);
}
-
- function showCoordJobContextMenu(thisGrid, rowIndex, cellIndex, e) {
- var jobContextMenu = new Ext.menu.Menu('taskContext');
- var coordJobId = thisGrid.store.data.items[rowIndex].data.coordJobId;
- coordJobDetailsGridWindow(coordJobId);
- }
-
+
function showBundleJobContextMenu(thisGrid, rowIndex, cellIndex, e) {
var jobContextMenu = new Ext.menu.Menu('taskContext');
var bundleJobId = thisGrid.store.data.items[rowIndex].data.bundleJobId;
bundleJobDetailsGridWindow(bundleJobId);
}
-
+
var jobs_grid = new Ext.grid.GridPanel({
store: jobs_store,
loadMask: true,
@@ -1897,7 +1900,7 @@ function initConsole() {
header: "Status",
width: 80,
sortable: true,
- dataIndex: 'status'
+ dataIndex: 'status'
}, {
header: "User",
width: 80,
@@ -1993,7 +1996,7 @@ function initConsole() {
width: 170,
sortable: true,
dataIndex: 'kickoffTime'
- }, {
+ }, {
header: "Created Time",
width: 170,
sortable: true,
@@ -2041,7 +2044,7 @@ function initConsole() {
editable: false,
triggerAction: 'all',
value: currentTimezone,
- listeners:
+ listeners:
{ select: { fn:function(combo, value)
{
Ext.state.Manager.setProvider(new
Ext.state.CookieProvider());