Browse Source

资源修改,删除,弹框修改

xuchunyang 8 years ago
parent
commit
33b953db95
1 changed files with 5 additions and 4 deletions
  1. 5 4
      js/newsciresource.js

+ 5 - 4
js/newsciresource.js

@ -109,7 +109,8 @@ $(function(){
109 109
							if ($data.success) {
110 110
								$(".blackcover").remove();
111 111
								$("body").css("position","static");	
112
								getDataResource();								
112
								getDataResource();	
113
								UE.delEditor('editor');
113 114
							} else {
114 115
								$.MsgBox.Alert('message',$data.msg);
115 116
							}
@ -118,7 +119,6 @@ $(function(){
118 119
				}
119 120
				if(resourceID){
120 121
					$("#deletedResource").on("click",function(){
121
						$(".blackcover").remove();
122 122
						$("body").css("position","static");
123 123
						$.MsgBox.Confirm("消息", "执行删除后资源信息将无法恢复,确定继续吗?",delet)					
124 124
					})
@ -213,7 +213,8 @@ $(function(){
213 213
										"success" : function(rdata) {
214 214
											console.log(rdata);
215 215
											if (rdata.success){													
216
													getDataResource();	
216
													getDataResource();
217
													$(".blackcover").remove();
217 218
													UE.delEditor('editor');
218 219
											} else {
219 220
												$.MsgBox.Alert("消息","资源发布失败");
@ -232,7 +233,7 @@ $(function(){
232 233
							if(resourceNamePass && supportedServicesPass)
233 234
							{
234 235
								if(resourceID){
235
									$(".blackcover").remove();
236
									//$(".blackcover").remove();
236 237
									$("body").css("position","static");
237 238
									$.MsgBox.Confirm("消息", "确定修改资源信息吗?", getDataput)
238 239
									$data.fn=cacheImageKey;