Merge pull request #64 from ammendonca/KEYCLOAK-94

KEYCLOAK-94: Move location change to happen only after Realm.query happe...
This commit is contained in:
Bill Burke 2013-10-15 06:50:34 -07:00
commit e308b32cbb

View file

@ -103,10 +103,10 @@ module.controller('RealmDetailCtrl', function($scope, Current, Realm, realm, $ht
Current.realm = Current.realms[i];
}
}
});
$location.url("/realms/" + id);
Notifications.success("Created realm");
});
});
} else {
console.log('updating realm...');
$scope.changed = false;