mirror of
https://github.com/wahyd4/pinpoint.git
synced 2026-08-09 12:56:12 +10:00
disable open transaction list page when there is no detail message.
This commit is contained in:
+12
-12
@@ -97,18 +97,18 @@
|
||||
if ( oResult.data.message.threadDumpData.length > 0 ) {
|
||||
msg = oResult.data.message.threadDumpData[0].detailMessage;
|
||||
} else {
|
||||
msg = "There is no message";
|
||||
CommonAjaxService.getServerTime( function( serverTime ) {
|
||||
var aUrlParam = [
|
||||
"transactionList",
|
||||
$routeParams.application,
|
||||
"5m",
|
||||
CommonUtilService.formatDate( serverTime ),
|
||||
$elThread.attr("data-transactionId") + "-0-0"
|
||||
];
|
||||
|
||||
$window.parent.open( "#/" + aUrlParam.join("/") );
|
||||
});
|
||||
msg = "There is no message( may be completed )";
|
||||
// CommonAjaxService.getServerTime( function( serverTime ) {
|
||||
// var aUrlParam = [
|
||||
// "transactionList",
|
||||
// $routeParams.application,
|
||||
// "5m",
|
||||
// CommonUtilService.formatDate( serverTime ),
|
||||
// $elThread.attr("data-transactionId") + "-0-0"
|
||||
// ];
|
||||
//
|
||||
// $window.parent.open( "#/" + aUrlParam.join("/") );
|
||||
// });
|
||||
}
|
||||
$elTextarea.val( msg );
|
||||
initAjax( oRefDetailAjax );
|
||||
|
||||
Reference in New Issue
Block a user