Fixed and closed #435: currently active editor tab is now disabled and cannot be clicked.
This commit is contained in:
parent
a86faf35cc
commit
3a4eeaf51e
3 changed files with 11 additions and 2 deletions
|
@ -16,5 +16,5 @@ using System.Reflection;
|
|||
//
|
||||
// You can specify all the values or you can default the Revision and Build Numbers
|
||||
// by using the '*' as shown below:
|
||||
[assembly: AssemblyVersion("3.0.1.447")]
|
||||
[assembly: AssemblyFileVersion("3.0.1.447")]
|
||||
[assembly: AssemblyVersion("3.0.1.448")]
|
||||
[assembly: AssemblyFileVersion("3.0.1.448")]
|
||||
|
|
|
@ -72,16 +72,24 @@ namespace ScrewTurn.Wiki {
|
|||
btnWikiMarkup.CssClass = "tabbutton";
|
||||
btnVisual.CssClass = "tabbutton";
|
||||
btnPreview.CssClass = "tabbutton";
|
||||
|
||||
btnWikiMarkup.Enabled = true;
|
||||
btnVisual.Enabled = true;
|
||||
btnPreview.Enabled = true;
|
||||
|
||||
mlvEditor.ActiveViewIndex = index;
|
||||
switch(index) {
|
||||
case 0:
|
||||
btnWikiMarkup.CssClass = "tabbuttonactive";
|
||||
btnWikiMarkup.Enabled = false;
|
||||
break;
|
||||
case 1:
|
||||
btnVisual.CssClass = "tabbuttonactive";
|
||||
btnVisual.Enabled = false;
|
||||
break;
|
||||
case 2:
|
||||
btnPreview.CssClass = "tabbuttonactive";
|
||||
btnPreview.Enabled = false;
|
||||
break;
|
||||
}
|
||||
ViewState["Tab"] = index;
|
||||
|
|
|
@ -103,6 +103,7 @@ input.tabbuttonactive {
|
|||
z-index: 1000;
|
||||
-moz-border-radius: 0px;
|
||||
-webkit-border-radius: 0px;
|
||||
cursor: default;
|
||||
}
|
||||
input.tabbuttonactive:hover {
|
||||
background-color: #F0F0F0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue