Skip to content

Commit

Permalink
744006 - Fixes issue with consistency in selecting all resource types.
Browse files Browse the repository at this point in the history
  • Loading branch information
ehelms committed Jan 10, 2012
1 parent 811aed1 commit 4616898
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/public/javascripts/role_sliding_tree.js
Expand Up @@ -127,7 +127,7 @@ KT.roles.permissionWidget = function(){
flow['details'].container.hide();
done_button.hide();
next_button.show();
previous_button.show();
previous_button.hide();
progress_bar.setProgress(25);
} else if( roleActions.getCurrentOrganization() === 'global' ) {
current_stage = 'verbs';
Expand Down Expand Up @@ -458,6 +458,7 @@ KT.roles.permissionWidget = function(){
all_types_button.addClass('selected');
flow['verbs'].container.hide();
flow['tags'].container.hide();
previous_button.hide();

if( mode === 'create' ){
current_stage = 'resource_type';
Expand All @@ -482,7 +483,8 @@ KT.roles.permissionWidget = function(){
if( mode === 'create' ){
flow['tags'].container.hide();
flow['details'].container.hide();
current_stage = 'verbs';
flow['verbs'].container.hide();
current_stage = 'resource_type';
next_button.show();
done_button.hide();
previous_button.hide();
Expand Down

0 comments on commit 4616898

Please sign in to comment.