From 026ac2d081218c7bd9b88d7cf28780cf3c60e6e8 Mon Sep 17 00:00:00 2001 From: phamt Date: Fri, 2 Nov 2012 12:08:10 +0000 Subject: [PATCH] git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14224 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-UI/js/service/service.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/xCAT-UI/js/service/service.js b/xCAT-UI/js/service/service.js index efb57412b..51b8cda9f 100644 --- a/xCAT-UI/js/service/service.js +++ b/xCAT-UI/js/service/service.js @@ -997,10 +997,8 @@ function setOSImageCookies(data) { // Only save install boot if (provMethod.indexOf('install') > -1) { - if (!osComments) { - osComments = "No descritption"; - imageNames.push(osImage + ':' + osComments); - } else { + if (osComments) { + // Only enable images where description and selectable comments exist // Set default description and selectable selectable = "no"; desc = "No description";