Changeset 71 for snippets

Show
Ignore:
Timestamp:
07/17/08 21:13:37 (6 months ago)
Author:
hey
Message:
  • 최신(4.3) 버전에서 집회장, 시장 메뉴에서 작동 안 하던 문제 해결
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • snippets/gm_scripts/tw_helper_from_enhancer.user.js

    r70 r71  
    982982                                var celltable = $$("table"); 
    983983 
    984                                 if (celltable[14] && (TW_Mode == "send" || TW_Mode == null)) 
    985                                 if (celltable[14].childNodes[1]) { 
     984                                if (celltable[15] && (TW_Mode == "send" || TW_Mode == null)) 
     985                                if (celltable[15].childNodes[1]) { 
    986986 
    987987                                // Add js call and ids to the input fields 
    988                                 celltable[14].childNodes[1].innerHTML = celltable[14].childNodes[1].innerHTML.replace(/<input name="(\w+)" value="" size="5" type="text">/gi, "<input name=\"$1\" value=\"\" size=\"5\" type=\"text\" id=\"input_$1\">"); 
    989                                 celltable[14].childNodes[1].innerHTML = celltable[14].childNodes[1].innerHTML.replace(/<a href="javascript:popup_scroll\('(.+)', (\d+), (\d+)\)">([^<]+)<\/a>/gi, "<a href=\"javascript:popup_scroll('$1', $2, $3)\">$4</a> <a href=\"javascript:inpagePopup('$1',$2,$3)\" id=\"inpagepoplink\"><img src=\"/graphic/rechts.png\" /></a><div id=\"innerpopdiv\" style=\"display: none;\">&nbsp;</div>"); 
     988                                celltable[15].childNodes[1].innerHTML = celltable[15].childNodes[1].innerHTML.replace(/<input name="(\w+)" value="" size="5" type="text">/gi, "<input name=\"$1\" value=\"\" size=\"5\" type=\"text\" id=\"input_$1\">"); 
     989                                celltable[15].childNodes[1].innerHTML = celltable[15].childNodes[1].innerHTML.replace(/<a href="javascript:popup_scroll\('(.+)', (\d+), (\d+)\)">([^<]+)<\/a>/gi, "<a href=\"javascript:popup_scroll('$1', $2, $3)\">$4</a> <a href=\"javascript:inpagePopup('$1',$2,$3)\" id=\"inpagepoplink\"><img src=\"/graphic/rechts.png\" /></a><div id=\"innerpopdiv\" style=\"display: none;\">&nbsp;</div>"); 
    990990 
    991991                                if (TW_getValue("showpoponhover") == 1) { $("inpagepoplink").setAttribute("onmouseover", $("inpagepoplink").getAttribute("href")); } 
     
    999999                                var celltable = $$("table"); 
    10001000 
    1001                                 if (celltable[16]) { 
     1001                                if (celltable[17]) { 
    10021002                                // Add js call and ids to the input fields 
    1003                                 celltable[16].innerHTML = celltable[16].innerHTML.replace(/<input name="(\w+)" value="" size="5" type="text">/gi, "<input name=\"$1\" value=\"\" size=\"5\" type=\"text\" id=\"input_$1\">"); 
    1004                                 celltable[16].innerHTML = celltable[16].innerHTML.replace(/<a href="javascript:popup_scroll\('(.+)', (\d+), (\d+)\)">([^<]+)<\/a>/gi, "<a href=\"javascript:popup_scroll('$1', $2, $3)\">$4</a> <a href=\"javascript:inpagePopup('$1',$2,$3)\" id=\"inpagepoplink\"><img src=\"/graphic/rechts.png\" /></a><div id=\"innerpopdiv\" style=\"display: none;\">&nbsp;</div>"); 
     1003                                celltable[17].innerHTML = celltable[17].innerHTML.replace(/<input name="(\w+)" value="" size="5" type="text">/gi, "<input name=\"$1\" value=\"\" size=\"5\" type=\"text\" id=\"input_$1\">"); 
     1004                                celltable[17].innerHTML = celltable[17].innerHTML.replace(/<a href="javascript:popup_scroll\('(.+)', (\d+), (\d+)\)">([^<]+)<\/a>/gi, "<a href=\"javascript:popup_scroll('$1', $2, $3)\">$4</a> <a href=\"javascript:inpagePopup('$1',$2,$3)\" id=\"inpagepoplink\"><img src=\"/graphic/rechts.png\" /></a><div id=\"innerpopdiv\" style=\"display: none;\">&nbsp;</div>"); 
    10051005 
    10061006                                if (TW_getValue("showpoponhover") == 1) { $("inpagepoplink").setAttribute("onmouseover", $("inpagepoplink").getAttribute("href")); }