mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 03:12:30 +00:00 
			
		
		
		
	Disable IPL column if advanced tab is selected on xCAT-UI z/VM provision page.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16905 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -5373,6 +5373,24 @@ function createZProvisionNew(inst) { | ||||
|         } | ||||
|     }); | ||||
|      | ||||
|     // Disable IPL column if advanced tab is selected | ||||
|     hwTab.object().tabs({ | ||||
|     	select: function(event, ui) { | ||||
|     		// Get provision tab instance | ||||
|     		var thisTabId = $(this).parents('.ui-tabs-panel').attr('id'); | ||||
|     		var inst = thisTabId.replace('zvmProvisionTab', ''); | ||||
|     		 | ||||
|     		// Disable and de-select IPL device | ||||
|     		if (ui.index == 1) { | ||||
| 	            $('#' + thisTabId + ' table:eq(0):visible tbody tr td:nth-child(8) input').attr('disabled','disabled'); | ||||
|     		} else { | ||||
|     			$('#' + thisTabId + ' table:eq(0):visible tbody tr td:nth-child(8) input').removeAttr('disabled'); | ||||
|     		} | ||||
|     		 | ||||
|     		$('#' + thisTabId + ' table:eq(0):visible tbody tr td:nth-child(8) input').removeAttr('checked'); | ||||
|     	} | ||||
|     }); | ||||
|      | ||||
|     /** | ||||
|      * Provision new | ||||
|      */ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user