wangchuanjin hace 9 años
padre
commit
f05e237d6f
Se han modificado 1 ficheros con 4 adiciones y 4 borrados
  1. 4 4
      core/src/web/templates/swordfish/wxtoolbar.html

+ 4 - 4
core/src/web/templates/swordfish/wxtoolbar.html

@@ -86,13 +86,13 @@ $(function(){
 		$("#feedback-textarea").focus().parent().removeClass("red-border");
 		$("#feedback-textarea").focus().parent().removeClass("red-border");
 	});
 	});
 	$("[id='goToShare']").click(function(){
 	$("[id='goToShare']").click(function(){
-		if(typeof(shareid) == "undefined" || shareid == ""){
+		/*if(typeof(shareid) == "undefined" || shareid == ""){
 			window.location.href = "/swordfish/share/-1";
 			window.location.href = "/swordfish/share/-1";
 		}else{
 		}else{
 			window.location.href = "/swordfish/share/"+shareid;
 			window.location.href = "/swordfish/share/"+shareid;
-		}
-		//$(".share-dialog").show();
-		//$("html,body").addClass("overflow-hidden");
+		}*/
+		$(".share-dialog").show();
+		$("html,body").addClass("overflow-hidden");
 	});
 	});
 	$("#share-dialog-back").click(function(){
 	$("#share-dialog-back").click(function(){
 		$(".share-dialog").hide();
 		$(".share-dialog").hide();