|
Lines 1152-1162
Link Here
|
| 1152 |
function(jsonData){ |
1152 |
function(jsonData){ |
| 1153 |
exports.handleProgressServiceResponse2(jsonData, serviceRegistry, |
1153 |
exports.handleProgressServiceResponse2(jsonData, serviceRegistry, |
| 1154 |
function() { |
1154 |
function() { |
| 1155 |
if (!jsonData || !jsonData.HttpCode) |
1155 |
if (explorer.parentId === "explorer-tree") { |
| 1156 |
dojo.query(".treeTableRow").forEach(function(node, i) { |
1156 |
if (!jsonData || !jsonData.HttpCode) |
| 1157 |
dojo.toggleClass(node, "outgoingCommitsdRow", false); |
1157 |
dojo.query(".treeTableRow").forEach(function(node, i) { |
| 1158 |
}); |
1158 |
dojo.toggleClass(node, "outgoingCommitsdRow", false); |
| 1159 |
dojo.hitch(explorer, explorer.changedItem)({}); |
1159 |
}); |
|
|
1160 |
} else { |
| 1161 |
dojo.hitch(explorer, explorer.changedItem)(); |
| 1162 |
} |
| 1160 |
}, function (jsonData) { |
1163 |
}, function (jsonData) { |
| 1161 |
handleResponse(jsonData, commandInvocation); |
1164 |
handleResponse(jsonData, commandInvocation); |
| 1162 |
} |
1165 |
} |
|
Lines 1191-1201
Link Here
|
| 1191 |
function(jsonData){ |
1194 |
function(jsonData){ |
| 1192 |
exports.handleProgressServiceResponse2(jsonData, serviceRegistry, |
1195 |
exports.handleProgressServiceResponse2(jsonData, serviceRegistry, |
| 1193 |
function() { |
1196 |
function() { |
| 1194 |
if (!jsonData || !jsonData.HttpCode) |
1197 |
if (explorer.parentId === "explorer-tree") { |
| 1195 |
dojo.query(".treeTableRow").forEach(function(node, i) { |
1198 |
if (!jsonData || !jsonData.HttpCode) |
| 1196 |
dojo.toggleClass(node, "outgoingCommitsdRow", false); |
1199 |
dojo.query(".treeTableRow").forEach(function(node, i) { |
| 1197 |
}); |
1200 |
dojo.toggleClass(node, "outgoingCommitsdRow", false); |
| 1198 |
dojo.hitch(explorer, explorer.changedItem)({}); |
1201 |
}); |
|
|
1202 |
} else { |
| 1203 |
dojo.hitch(explorer, explorer.changedItem)(); |
| 1204 |
} |
| 1199 |
}, function (jsonData) { |
1205 |
}, function (jsonData) { |
| 1200 |
handleResponse(jsonData, commandInvocation); |
1206 |
handleResponse(jsonData, commandInvocation); |
| 1201 |
} |
1207 |
} |
|
Lines 1285-1295
Link Here
|
| 1285 |
function(jsonData){ |
1291 |
function(jsonData){ |
| 1286 |
exports.handleProgressServiceResponse2(jsonData, serviceRegistry, |
1292 |
exports.handleProgressServiceResponse2(jsonData, serviceRegistry, |
| 1287 |
function() { |
1293 |
function() { |
| 1288 |
if (!jsonData || !jsonData.HttpCode) |
1294 |
if (explorer.parentId === "explorer-tree") { |
| 1289 |
dojo.query(".treeTableRow").forEach(function(node, i) { |
1295 |
if (!jsonData || !jsonData.HttpCode) |
| 1290 |
dojo.toggleClass(node, "outgoingCommitsdRow", false); |
1296 |
dojo.query(".treeTableRow").forEach(function(node, i) { |
| 1291 |
}); |
1297 |
dojo.toggleClass(node, "outgoingCommitsdRow", false); |
| 1292 |
dojo.hitch(explorer, explorer.changedItem)({}); |
1298 |
}); |
|
|
1299 |
} else { |
| 1300 |
dojo.hitch(explorer, explorer.changedItem)(); |
| 1301 |
} |
| 1293 |
}, function (jsonData) { |
1302 |
}, function (jsonData) { |
| 1294 |
handleResponse(jsonData, commandInvocation); |
1303 |
handleResponse(jsonData, commandInvocation); |
| 1295 |
} |
1304 |
} |
|
Lines 1324-1334
Link Here
|
| 1324 |
function(jsonData){ |
1333 |
function(jsonData){ |
| 1325 |
exports.handleProgressServiceResponse2(jsonData, serviceRegistry, |
1334 |
exports.handleProgressServiceResponse2(jsonData, serviceRegistry, |
| 1326 |
function() { |
1335 |
function() { |
| 1327 |
if (!jsonData || !jsonData.HttpCode) |
1336 |
if (explorer.parentId === "explorer-tree") { |
| 1328 |
dojo.query(".treeTableRow").forEach(function(node, i) { |
1337 |
if (!jsonData || !jsonData.HttpCode) |
| 1329 |
dojo.toggleClass(node, "outgoingCommitsdRow", false); |
1338 |
dojo.query(".treeTableRow").forEach(function(node, i) { |
| 1330 |
}); |
1339 |
dojo.toggleClass(node, "outgoingCommitsdRow", false); |
| 1331 |
dojo.hitch(explorer, explorer.changedItem)({}); |
1340 |
}); |
|
|
1341 |
} else { |
| 1342 |
dojo.hitch(explorer, explorer.changedItem)(); |
| 1343 |
} |
| 1332 |
}, function (jsonData) { |
1344 |
}, function (jsonData) { |
| 1333 |
handleResponse(jsonData, commandInvocation); |
1345 |
handleResponse(jsonData, commandInvocation); |
| 1334 |
} |
1346 |
} |