Skip to content

Commit

Permalink
make sure to always show the add accounts ui instead of the old confi…
Browse files Browse the repository at this point in the history
…gure settings status pane.
  • Loading branch information
jrburke committed Apr 21, 2011
1 parent d97fc02 commit 475ccee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
10 changes: 0 additions & 10 deletions dev/1/share/panel/index.html
Expand Up @@ -43,16 +43,6 @@
<div id="clickBlock" class="hidden"></div>

<!-- Start status messages -->
<div id="statusSettings" class="status hidden noConfig">
<table>
<tr>
<td>
<img src="/dev/1/share/i/f1-icon-grey.png"> <a target="_blank" class="settingsLink" href="/dev/1/settings/">click here to setup F1</a>
</td>
</tr>
</table>
</div>

<div id="statusSharing" class="status hidden">
<table>
<tr>
Expand Down
4 changes: 2 additions & 2 deletions dev/1/share/panel/index.js
Expand Up @@ -168,10 +168,10 @@ function (require, $, object, fn, rdapi, oauth,
accounts(
function (accts) {
if (!accts || !accts.length) {
showStatus('statusSettings');
tabButtonsDom.eq(0).click();
}
}, function (err) {
showStatus('statusSettings');
tabButtonsDom.eq(0).click();
}
);
}
Expand Down

0 comments on commit 475ccee

Please sign in to comment.