|
@@ -86,8 +86,13 @@ $(function(){
|
|
|
$("#feedback-textarea").focus().parent().removeClass("red-border");
|
|
|
});
|
|
|
$("[id='goToShare']").click(function(){
|
|
|
- $(".share-dialog").show();
|
|
|
- $("html,body").addClass("overflow-hidden");
|
|
|
+ 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-back").click(function(){
|
|
|
$(".share-dialog").hide();
|