v1.0 beta init

This commit is contained in:
life
2014-10-22 16:20:45 +08:00
parent 8ae438272b
commit 593d2c2965
225 changed files with 27217 additions and 3675 deletions

View File

@ -25,7 +25,7 @@ function openDialog(config) {
var d = art.dialog(config);
if(config.url) {
ajaxGetHtml(config.url, {}, function(ret) {
$.get(config.url, {}, function(ret) {
d.content(ret);
});
}
@ -258,6 +258,18 @@ function enter_submit(btnId) {
}
}
// send email dialog
function openSendEmailDialog(emails) {
openDialog({width: 500, url: "/adminEmail/sendEmailDialog?emails=" + emails, title: "Send Email"});
}
function goNowToDatetime(goNow) {
if(!goNow) {
return "";
}
return goNow.substr(0, 10) + " " + goNow.substr(11, 8);
}
!function ($) {
$(function(){