初始化隐藏dialog

This commit is contained in:
Liang Ding 2014-10-09 21:55:09 +08:00
parent d561c2cf30
commit 6e0e675afd
3 changed files with 7 additions and 6 deletions

View File

@ -4,6 +4,7 @@ body {
margin: 0; margin: 0;
color: #000; color: #000;
overflow: hidden; overflow: hidden;
background-color: #F0F0F0;
} }
ul { ul {

View File

@ -105,7 +105,7 @@ var tree = {
callback: { callback: {
onDblClick: function (event, treeId, treeNode) { onDblClick: function (event, treeId, treeNode) {
if (treeNode) { if (treeNode) {
tree._openFile(treeNode); tree.openFile(treeNode);
} }
}, },
onRightClick: function (event, treeId, treeNode) { onRightClick: function (event, treeId, treeNode) {

View File

@ -172,17 +172,17 @@
</div> </div>
</div> </div>
<div id="dialogRemoveConfirm"> <div id="dialogRemoveConfirm" class="fn-none">
{{.i18n.isDelete}} <b></b>? {{.i18n.isDelete}} <b></b>?
</div> </div>
<div id="dialogAlert" class="none"></div> <div id="dialogAlert" class="fn-none"></div>
<div id="dialogNewFilePrompt" class="dialog-prompt none"> <div id="dialogNewFilePrompt" class="dialog-prompt fn-none">
<input/><span class="tip"></span> <input/><span class="tip"></span>
</div> </div>
<div id="dialogNewDirPrompt" class="dialog-prompt none"> <div id="dialogNewDirPrompt" class="dialog-prompt fn-none">
<input/><span class="tip"></span> <input/><span class="tip"></span>
</div> </div>
<div id="dialogGoLinePrompt" class="dialog-prompt none"> <div id="dialogGoLinePrompt" class="dialog-prompt fn-none">
<input/><span class="tip"></span> <input/><span class="tip"></span>
</div> </div>
<script> <script>