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:
parent
c2dec7b40b
commit
7fd00ce8ae
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user