mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
feature(view) rm afterShow, mv css to style
This commit is contained in:
parent
9621413fbc
commit
8a0d695d0a
1 changed files with 3 additions and 15 deletions
|
|
@ -20,8 +20,6 @@ var CloudCmd, Util, DOM, CloudFunc, $;
|
|||
Images.hideLoad();
|
||||
Key.unsetBind();
|
||||
},
|
||||
afterShow : afterShow,
|
||||
|
||||
beforeClose : Key.setBind,
|
||||
|
||||
openEffect : 'none',
|
||||
|
|
@ -31,14 +29,6 @@ var CloudCmd, Util, DOM, CloudFunc, $;
|
|||
width : '100%',
|
||||
minWidth : 0,
|
||||
minHeight : 0,
|
||||
|
||||
helpers : {
|
||||
overlay : {
|
||||
css : {
|
||||
'background' : 'rgba(255, 255, 255, 0.1)'
|
||||
}
|
||||
}
|
||||
},
|
||||
padding : 0
|
||||
};
|
||||
|
||||
|
|
@ -71,10 +61,6 @@ var CloudCmd, Util, DOM, CloudFunc, $;
|
|||
Events.addKey(listener);
|
||||
}
|
||||
|
||||
function afterShow() {
|
||||
Element.focus();
|
||||
}
|
||||
|
||||
/**
|
||||
* function shows FancyBox
|
||||
*/
|
||||
|
|
@ -87,7 +73,6 @@ var CloudCmd, Util, DOM, CloudFunc, $;
|
|||
if (pData) {
|
||||
lElement = $(Element).append(pData);
|
||||
lFunc = function() {
|
||||
afterShow();
|
||||
Util.exec(pCallBack);
|
||||
};
|
||||
|
||||
|
|
@ -159,6 +144,9 @@ var CloudCmd, Util, DOM, CloudFunc, $;
|
|||
'background: none;' +
|
||||
'width: 0;' +
|
||||
'height: 0' +
|
||||
'}' +
|
||||
'.fancybox-overlay {' +
|
||||
'background: rgba(255, 255, 255, 0.1)' +
|
||||
'}'
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue