import rt 3.0.12
[freeside.git] / rt / html / Admin / Users / Modify.html
index 370c2e8..5fb9411 100644 (file)
@@ -25,7 +25,7 @@
 <& /Admin/Elements/UserTabs, 
     id => $id, 
     UserObj => $UserObj,
-    current_subtab => $current_tab, 
+    current_tab => $current_tab, 
     Title => $title &>
 
 <& /Elements/ListActions, actions => \@results &>
 </TR>
 </TABLE>
 
-<& /Elements/Submit &>
+<& /Elements/Submit, Label => loc('Save Changes') &>
 </form>
 
 <%INIT>
@@ -224,9 +224,11 @@ else {
        } else {
                push @results, loc('User could not be created: [_1]', $msg);
        }       
-       
-    }
-    else {
+
+       # set the id, so the the menu will have the right info
+       $id = $UserObj->Id;     
+
+    } else {
        $UserObj->Load($id) || $UserObj->Load($Name) || Abort("Couldn't load user '$Name'");
        $val = $UserObj->Id();
     }
@@ -241,8 +243,6 @@ else {
        $Create = 1;
     }    
 
-    
-
 }