mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 11:22:27 +00:00 
			
		
		
		
	Renamed function to open dialog to delete profile. Added new line at end of directory entry.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15167 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -5839,7 +5839,7 @@ function configProfilePanel(panelId) { | ||||
|     deleteLnk.click(function() { | ||||
|         var profiles = getNodesChecked(tableId); | ||||
|         if (profiles) { | ||||
|             openDeleteProfileDialog(profiles); | ||||
|         	deleteProfileDialog(profiles); | ||||
|         } | ||||
|     }); | ||||
|      | ||||
| @@ -6239,6 +6239,10 @@ function editProfileDialog(profile, pool, size, entry) { | ||||
|                         } | ||||
|                     }); | ||||
|                      | ||||
|                     // A newline at the end of directory entry is needed | ||||
|                     entry = entry.replace(/^\s+|\s+$/g, ''); | ||||
|                     entry += '\n'; | ||||
|                      | ||||
|                     // Write file to /var/tmp | ||||
|                     $.ajax({ | ||||
|                         url : 'lib/cmd.php', | ||||
|   | ||||
		Reference in New Issue
	
	Block a user