wangchuanjin 9 anni fa
parent
commit
f05e237d6f
1 ha cambiato i file con 4 aggiunte e 4 eliminazioni
  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");
 	});
 	$("[id='goToShare']").click(function(){
-		if(typeof(shareid) == "undefined" || shareid == ""){
+		/*if(typeof(shareid) == "undefined" || shareid == ""){
 			window.location.href = "/swordfish/share/-1";
 		}else{
 			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").hide();