.
This commit is contained in:
@ -129,11 +129,11 @@
|
||||
}
|
||||
|
||||
function getSurveyTemplateInfo(copy) {
|
||||
showLoading();
|
||||
showloading(true);
|
||||
$('#questionlist').empty();
|
||||
wosurveyCtrl = undefined;
|
||||
worequest("GetSurveyTemplateInfo", surveyid, function (data) {
|
||||
hideLoading();
|
||||
showloading(false);
|
||||
if (typeof (data) === "string") {
|
||||
showAlert(data, GetTextByKey("P_WOS_ERROR", 'Error'));
|
||||
return;
|
||||
@ -157,7 +157,7 @@
|
||||
}
|
||||
|
||||
}, function (err) {
|
||||
hideLoading();
|
||||
showloading(false);
|
||||
});
|
||||
}
|
||||
|
||||
@ -255,14 +255,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
function showLoading() {
|
||||
$("#dialogmask").show();
|
||||
}
|
||||
|
||||
function hideLoading() {
|
||||
$("#dialogmask").hide();
|
||||
}
|
||||
|
||||
$(function () {
|
||||
init();
|
||||
|
||||
@ -277,11 +269,7 @@
|
||||
</script>
|
||||
</asp:Content>
|
||||
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
|
||||
<div id="mask_bg" style="display: none; z-index: 500"><div class="loading c-spin"></div></div>
|
||||
<div>
|
||||
<div id="dialogmask" class="maskbg" style="display: none; z-index: 500;">
|
||||
<div class="loading_icon icon c-spin"></div>
|
||||
</div>
|
||||
<div class="function_title">
|
||||
<span class="sbutton iconsave" onclick="OnSave(0);" data-lgid="P_UM_SAVE">Save</span>
|
||||
<span class="sbutton iconsave" onclick="OnSave(1);" data-lgid="P_UM_SAVE1">Save and Exit</span>
|
||||
@ -326,4 +314,5 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="mask_bg" style="display: none;"><div class="loading c-spin"></div></div>
|
||||
</asp:Content>
|
||||
|
Reference in New Issue
Block a user