add noty information

This commit is contained in:
luqiong 2014-08-22 16:29:00 +08:00
parent 3522d52b96
commit cbb2d58f9d
3 changed files with 16 additions and 0 deletions

View File

@ -230,6 +230,7 @@ body {
<script src="lib/HashMap/HashMap.js"></script>
<script src="lib/other/jstree.min.js"></script>
<script src="lib/other/jquery.msgbox.min.js"></script>
<script src="lib/other/jquery.noty.packaged.min.js"></script>
<script src="script/editor/pluginEditor/editorFactory.js"></script>
<script src="script/editor/pluginEditor/dataFormat.js"></script>

File diff suppressed because one or more lines are too long

View File

@ -41,4 +41,9 @@ function createRadioGroupByAttribute(items,textAttr,valueAttr,idAttr, name,conta
var radio = createRadio(items[i][idAttr],items[i][textAttr],name,items[i][valueAttr]);
$("#" + containerId).append(radio);
}
}
function information(){
noty({text: 'success',type:'information',layout:'center'});
setTimeout("document.body.removeChild(noty_center_layout_container)",2000);
}