model = Resource.model("UserReport");
user_report = model.build({
title: title,
public_area: public_area,
private_area: private_area,
search: search,
search_action: search_action,
selector_fields: selector_fields,
hash_key: hash_key,
order: order,
search_hash: search_hash
})
test = user_report.save()
if(test == true)
{
Effect.Fade($('errorExplanation'));
$('error_exists').style.display = 'none';
Effect.Appear($('success'));
}
else
{
$('error_exists').style.display = '';
Effect.Appear($('errorExplanation'));
}
详细解决方案
暂时,有些疑问的代码
热度:277 发布时间:2012-10-27 10:42:26.0
相关解决方案