Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
Change placing of "Set as default workspace" checkbox as it was no mo…
Browse files Browse the repository at this point in the history
…re accessible.
  • Loading branch information
cdujeu committed Mar 21, 2015
1 parent 66ef207 commit 4de405e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions core/src/plugins/access.ajxp_home/class.UserDashboardHome.js
Expand Up @@ -103,12 +103,13 @@ Class.create("UserDashboardHome", AjxpPane, {
legendBlock.update('');
legendBlock.writeAttribute("data-repoId", "");
legendBlock.up('#home_center_panel').removeClassName('legend_visible');
}, 3500);
}, 7000);
return;
}
var repoId = repoObject.getId();
legendBlock.writeAttribute("data-repoId", repoId);
legendBlock.update(repoObject.getLabel() + '<small>' + repoObject.getDescription() + '</small><div class="repoInfo"></div>');
legendBlock.insert('<div style="line-height: 0.5em;"><input type="checkbox" name="save_ws_choice" id="save_ws_choice"><label for="save_ws_choice">'+MessageHash['user_home.41']+'</label></div>');
legendBlock.insert('<a>'+MessageHash['user_home.42']+'</a>');
legendBlock.down('a').observe('click', function(){
switchToRepo(repoId);
Expand Down Expand Up @@ -151,7 +152,6 @@ Class.create("UserDashboardHome", AjxpPane, {
target.previousSiblings().invoke('removeClassName', 'selected');
target.addClassName('selected');
oFormObject.down('#go_to_ws').removeClassName("disabled");
oFormObject.down('#save_ws_choice').removeClassName("disabled").disabled = false;
oFormObject.down('#go_to_ws').CURRENT_REPO_ID = repoId;
oFormObject.down('#go_to_ws').CURRENT_REPO_OBJECT = repoObject;
if(window.ajxpMobile){
Expand Down
5 changes: 2 additions & 3 deletions core/src/plugins/access.ajxp_home/manifest.xml
Expand Up @@ -123,11 +123,10 @@
<div id="home_left_bar" ajxpClass="AjxpPane" ajxpOptions='{"fit":"height", "fitParent":"orbit_content"}' style="width:420px;">
<div id="welcome" style="min-height:94px;"></div>
<div id="workspaces_center" ajxpClass="AjxpPane" ajxpOptions='{"fit":"height", "fitParent":"home_left_bar"}'>
<div id="list_cont" ajxpClass="AjxpPane" ajxpOptions='{"fit":"height", "fitParent":"workspaces_center", "fitMarginBottom":100}'>
<div id="list_cont" ajxpClass="AjxpPane" ajxpOptions='{"fit":"height", "fitParent":"workspaces_center"}'>
<ul id="workspaces_list"></ul>
</div>
<div id="workspaces_button">
<input type="checkbox" name="save_ws_choice" id="save_ws_choice" class="disabled" disabled><label for="save_ws_choice">AJXP_MESSAGE[user_home.41]</label>
<div id="workspaces_button" style="display:none;">
<input type="button" name="go_to_ws" id="go_to_ws" value="AJXP_MESSAGE[user_home.42]" class="disabled">
</div>
</div>
Expand Down

0 comments on commit 4de405e

Please sign in to comment.