Showing
1 changed file
with
13 additions
and
12 deletions
| @@ -3655,18 +3655,19 @@ | @@ -3655,18 +3655,19 @@ | ||
| 3655 | 3655 | ||
| 3656 | if (!this.isOffline() && file.title == '.scratchpad' && EditorUi.scratchpadHelpLink != null) | 3656 | if (!this.isOffline() && file.title == '.scratchpad' && EditorUi.scratchpadHelpLink != null) | 
| 3657 | { | 3657 | { | 
| 3658 | - var link = document.createElement('span'); | ||
| 3659 | - link.setAttribute('title', mxResources.get('help')); | ||
| 3660 | - link.style.cssText = 'color:#a3a3a3;text-decoration:none;margin-right:2px;cursor:pointer;'; | ||
| 3661 | - mxUtils.write(link, '?'); | ||
| 3662 | - | ||
| 3663 | - mxEvent.addGestureListeners(link, mxUtils.bind(this, function(evt) | ||
| 3664 | - { | ||
| 3665 | - this.openLink(EditorUi.scratchpadHelpLink); | ||
| 3666 | - mxEvent.consume(evt); | ||
| 3667 | - })); | ||
| 3668 | - | ||
| 3669 | - buttons.insertBefore(link, buttons.firstChild); | 3658 | + // TODO thingsKit 隐藏 Sidebar 便笺本 ? | 
| 3659 | + // var link = document.createElement('span'); | ||
| 3660 | + // link.setAttribute('title', mxResources.get('help')); | ||
| 3661 | + // link.style.cssText = 'color:#a3a3a3;text-decoration:none;margin-right:2px;cursor:pointer;'; | ||
| 3662 | + // mxUtils.write(link, '?'); | ||
| 3663 | + // | ||
| 3664 | + // mxEvent.addGestureListeners(link, mxUtils.bind(this, function(evt) | ||
| 3665 | + // { | ||
| 3666 | + // this.openLink(EditorUi.scratchpadHelpLink); | ||
| 3667 | + // mxEvent.consume(evt); | ||
| 3668 | + // })); | ||
| 3669 | + // | ||
| 3670 | + // buttons.insertBefore(link, buttons.firstChild); | ||
| 3670 | } | 3671 | } | 
| 3671 | } | 3672 | } | 
| 3672 | 3673 |