Skip to content

Commit

Permalink
SAM-3007 Samigo, return to the published tab (sakaiproject#3267)
Browse files Browse the repository at this point in the history
This change makes it so that when you are on the Published
Copies tab and edit an assessment, you are brought back to that
tab.
  • Loading branch information
master-bob authored and ottenhoff committed Aug 25, 2016
1 parent 2ff8f49 commit d6ed007
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ $(document).ready(function() {
var selectedTab = 0;
<h:outputText rendered="#{author.justPublishedAnAssessment}" value="selectedTab = 1;" />
$("#tabs").tabs({ selected: selectedTab });
$("#tabs").tabs({ active: selectedTab });
// SET THE HEIGHT ON TABS CONTAINER IF PUBLISHED IS LARGER THAN WORKING COPIES
if ($('#tabs-2').height() > $('#tabs-1').height()) {
Expand Down

0 comments on commit d6ed007

Please sign in to comment.