aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--static/buildDetails.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/static/buildDetails.js b/static/buildDetails.js
index 2369363..1461b7e 100644
--- a/static/buildDetails.js
+++ b/static/buildDetails.js
@@ -416,7 +416,7 @@ YUI(Yconfig).use(
if (job.queueItem) {
Y.one('#queue-details').removeClass('hidden');
var queueConfig;
- var encodedConfig = job.queueItem.params.replace(/^[\s\S]*CONFIG='([\s\S]*)'$/,'$1');
+ var encodedConfig = job.queueItem.params.replace(/^\s*CONFIG='?(\S*)'?$/,'$1');
try {
queueConfig= Y.Base64.decode(encodedConfig);
} catch (error) {