Created
July 28, 2018 10:58
-
-
Save yue4u/33b817af1ac84a4c6a1504dd1ff9f521 to your computer and use it in GitHub Desktop.
jalan better link
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// override the "openYadoSyosai" function in the console | |
// force opening hotels' pages in a new tag | |
function openYadoSyosai(yadCode, pageListNumYadFw) { | |
var frm = document.forms['yadoDetailFrm']; | |
//var returnUI = 0; | |
frm.action = "/uw/uwp3000/uww3001.do"; | |
// 施設詳細へ遷移 | |
var holdFrm = document.forms['planListHoldFrm']; | |
frm.action += "?yadNo=" + yadCode; | |
frm.action += makeGetParam(holdFrm); | |
//frm.action += "&rootCd=7705"; | |
//frm.action += "&pageListNumYadFw=" + pageListNumYadFw; | |
//if( returnUI == '1'){ | |
frm.method = "POST"; | |
frm.target = "_blank"; | |
frm.submit(); | |
//} else { | |
// frm.method = "POST"; | |
// frm.submit(); | |
//} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment