diff options
| author | Nick Palmer <nick@sluggardy.net> | 2007-06-17 14:43:48 +0000 |
|---|---|---|
| committer | Nick Palmer <nick@sluggardy.net> | 2007-06-17 14:43:48 +0000 |
| commit | 0a5be30e8f96f2771a94c872ec7a0b98286483c1 (patch) | |
| tree | b072b9821c40ed98e574afeef6136c1f109206f2 /javascript/libs | |
| parent | c5a0a74acaabb195892889fe355b649ab838f43b (diff) | |
| download | util-0a5be30e8f96f2771a94c872ec7a0b98286483c1.tar.gz util-0a5be30e8f96f2771a94c872ec7a0b98286483c1.tar.bz2 util-0a5be30e8f96f2771a94c872ec7a0b98286483c1.zip | |
Fix up the visuals a bit so they are less disturbing on submit.
Diffstat (limited to 'javascript/libs')
| -rw-r--r-- | javascript/libs/tabpane.js | 2 | ||||
| -rw-r--r-- | javascript/libs/tabpane_original.js | 10 |
2 files changed, 9 insertions, 3 deletions
diff --git a/javascript/libs/tabpane.js b/javascript/libs/tabpane.js index c60886b..0489d70 100644 --- a/javascript/libs/tabpane.js +++ b/javascript/libs/tabpane.js @@ -1 +1 @@ -eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('8 18(13){4 i=0;7(f.23){y(i=0;i<13.X.v;i++){1b=13.X.22(i);C=1Z.1W(1b.11);7(C&&C.21&&C.2f==25){C.1w();C.1w()}18(1b)}}}8 t(){7(R t.Y!="S"){j t.Y}4 1i=/2c 5\\=[28]/i.L(27.26);t.Y=(R f.1s!="S"&&f.1s.2b("2e","1.0")||1i);7(1i){f.1t=f.10;f.10=8(1d){7(1d=="*"){j f.z}D{j f.1t(1d)}}}j t.Y}8 k(6,1g){7(!t()||6==9){j}2.c=6;2.c.p=2;2.q=[];2.o=9;4 1o=f.1V.1l("?");4 1p=f.1X.1z.1l("?");7(1p[0]!=1o[0]){k.W("1e"+2.c.1j,0)}2.1f=1g!=9?1g:20;2.c.h=2.1q+" "+2.c.h;2.H=f.1T("1U");2.H.h="1Y";6.2a(2.H,6.1Q);4 I=0;7(2.1f){I=2h(k.1y("1e"+2.c.1j));7(2w(I)){I=0}}2.o=I;4 r=6.X;4 n;y(4 i=0;i<r.v;i++){7(r[i].1m==1&&r[i].h=="F"){2.1h(r[i])}}}k.x.1q="2g";k.x.1E=8(n){7(2.o!=n){7(2.o!=9&&2.q[2.o]!=9){2.q[2.o].15()}2.o=n;2.q[2.o].17();7(2.1f){k.W("1e"+2.c.1j,n,1)}}};k.x.2x=8(){j 2.o};k.x.1h=8(Q){7(!t()){j}7(Q.J==2){j Q.J}4 n=2.q.v;4 B=2.q[n]=Z m(Q,2,n);B.p=2;2.H.1a(B.b);7(n==2.o){B.17()}D{B.15()}j B};k.x.V=8(){2.c.p=9;2.c=9;2.H=9;y(4 i=0;i<2.q.v;i++){2.q[i].V();2.q[i]=9}2.q=9};k.W=8(N,1u,16){4 P="";7(16){4 d=Z 2k();d.2j(d.2i()+16*24*1v*1v*2l);P="; P="+d.2m()}f.1r=N+"="+1u+P+"; 2o="+2n};k.1y=8(N){4 1x=Z 2p("(\\-|^)[^;]*("+N+")\\-([^;]*)(;|$)");4 19=1x.2q(f.1r);j 19!=9?19[3]:9};k.2v=8(11){W(11,"",-1)};8 m(6,p,1n){7(!t()||6==9){j}2.c=6;2.c.J=2;2.1O=1n;4 r=6.X;y(4 i=0;i<r.v;i++){7(r[i].1m==1&&r[i].h=="b"){2.b=r[i];2t}}4 a=f.1T("A");2.1c=a;a.1z="#";a.U=8(){j 1F};2u(2.b.2r()){a.1a(2.b.1Q)}2.b.1a(a);4 T=2;2.b.U=8(){T.1N()};2.b.1C=8(){m.1B(T)};2.b.1A=8(){m.1G(T)}}m.x.17=8(){4 6=2.b;4 s=6.h+" b-1P";s=s.O(/ +/g," ");6.h=s;18(2.c);2.c.12.14="1D"};m.x.15=8(){4 6=2.b;4 s=6.h;s=s.O(/ b.1P/g,"");6.h=s;2.c.12.14="2s"};m.x.1N=8(){2.p.1E(2.1O)};m.x.V=8(){2.c.12.14="1D";2.1c.U=9;2.1c=9;2.c.J=9;2.b.U=9;2.b.1C=9;2.b.1A=9;2.b=9;2.p=9;2.c=9};m.1B=8(F){4 6=F.b;4 s=6.h+" b-1M";s=s.O(/ +/g," ");6.h=s};m.1G=8(F){4 6=F.b;4 s=6.h;s=s.O(/ b.1M/g,"");6.h=s};8 G(){7(!t()){j}4 z=f.10("*");4 l=z.v;4 K=/1K/;4 1I=/F/;4 w,6;4 2y;y(4 i=0;i<l;i++){6=z[i];w=6.h;7(w==""){1L}7(K.L(w)&&!6.p){Z k(6)}D 7(1I.L(w)&&!6.J&&K.L(6.1J.h)){6.1J.p.1h(6)}}}8 1R(){7(!t()){j}4 z=f.10("*");4 l=z.v;4 K=/1K/;4 w,6;4 E=[];y(4 i=0;i<l;i++){6=z[i];w=6.h;7(w==""){1L}7(K.L(w)&&6.p){E[E.v]=6.p}}y(4 i=E.v-1;i>=0;i--){E[i].V();E[i]=9}}7(R u.1H!="S"){u.1H("2d",G,1F)}D 7(R u.1k!="S"){u.1k("M",G);u.1k("29",1R)}D{7(u.M!=9){4 1S=u.M;u.M=8(e){1S(e);G()}}D{u.M=G}}',62,159,'||this||var||el|if|function|null||tab|element|||document||className||return|WebFXTabPane||WebFXTabPage||selectedIndex|tabPane|pages|cs||hasSupport|window|length|cn|prototype|for|all||tp|editor|else|tabPanes|tabpage|setupAllTabs|tabRow|tabIndex|tabPage|tabPaneRe|test|onload|sName|replace|expires|oElement|typeof|undefined|oThis|onclick|dispose|setCookie|childNodes|support|new|getElementsByTagName|name|style|oNode|display|hide|nDays|show|switchEditors|res|appendChild|childNode|aElement|sTagName|webfxtab_|useCookie|bUseCookie|addTabPage|ie55|id|attachEvent|split|nodeType|nIndex|ref|loc|classNameTag|cookie|implementation|_getElementsByTagName|sValue|60|SwitchEditMode|re|getCookie|href|onmouseout|tabOver|onmouseover|block|setSelectedIndex|false|tabOut|addEventListener|tabPageRe|parentNode|tabpane|continue|hover|select|index|active|firstChild|disposeAllTabs|oldOnload|createElement|div|referrer|GetInstance|location|tabcontainer|FCKeditorAPI|true|EditorDocument|item|FCKEditorLoaded||FCK_EDITMODE_WYSIWYG|userAgent|navigator|56789|onunload|insertBefore|hasFeature|msie|load|html|EditMode|tabsystem|Number|getTime|setTime|Date|1000|toGMTString|bitCookiePath|path|RegExp|exec|hasChildNodes|none|break|while|removeCookie|isNaN|getSelectedIndex|parentTabPane'.split('|'),0,{})) +eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('8 18(1h){4 i=0;7(h.1Y){y(i=0;i<1h.Y.v;i++){13=1h.Y.21(i);D=28.1W(13.19);7(D&&D.1Z&&D.1X==2e){D.1O();D.1O()}18(13)}}}8 o(){7(W o.T!="O"){j o.T}4 14=/23 5\\=[2b]/i.I(2a.27);o.T=(W h.1M!="O"&&h.1M.29("2f","1.0")||14);7(14){h.1m=h.12;h.12=8(17){7(17=="*"){j h.z}F{j h.1m(17)}}}j o.T}8 k(6,1i){7(!o()||6==9){j}2.c=6;2.c.m=2;2.t=[];2.q=9;4 1p=h.25.1u("?");4 1t=h.26.1N.1u("?");7(1t[0]!=1p[0]){k.S("1f"+2.c.1e,0)}2.1k=1i!=9?1i:2d;2.c.f=2.1s+" "+2.c.f;2.K=h.1P("2c");2.K.f="2g";6.22(2.K,6.1T);4 N=0;7(2.1k){N=1V(k.1w("1f"+2.c.1e));7(20(N)){N=0}}2.q=N;4 r=6.Y;4 n;y(4 i=0;i<r.v;i++){7(r[i].1l==1&&r[i].f=="B"){2.1d(r[i])}}}k.x.1s="2m";k.x.1E=8(n){7(2.q!=n){7(2.q!=9&&2.t[2.q]!=9){2.t[2.q].1g()}2.q=n;2.t[2.q].16();7(2.1k){k.S("1f"+2.c.1e,n,1)}}};k.x.2x=8(){j 2.q};k.x.1d=8(X){7(!o()){j}7(X.H==2){j X.H}4 n=2.t.v;4 C=2.t[n]=11 p(X,2,n);C.m=2;2.K.15(C.b);7(n==2.q){C.16()}F{C.1g()}j C};k.x.10=8(){2.c.m=9;2.c=9;2.K=9;y(4 i=0;i<2.t.v;i++){2.t[i].10();2.t[i]=9}2.t=9};k.S=8(V,1o,1j){4 U="";7(1j){4 d=11 2w();d.2v(d.2z()+1j*24*1q*1q*2B);U="; U="+d.2A()}h.1z=V+"="+1o+U+"; 2u="+2s};k.1w=8(V){4 1v=11 2t("(\\-|^)[^;]*("+V+")\\-([^;]*)(;|$)");4 1a=1v.2k(h.1z);j 1a!=9?1a[3]:9};k.2j=8(19){S(19,"",-1)};8 p(6,m,1n){7(!o()||6==9){j}2.c=6;2.c.H=2;2.1L=1n;4 r=6.Y;y(4 i=0;i<r.v;i++){7(r[i].1l==1&&r[i].f=="b"){2.b=r[i];2i}}4 a=h.1P("A");2.1b=a;a.1N="#";a.Q=8(){j 1U};2n(2.b.2h()){a.15(2.b.1T)}2.b.15(a);4 Z=2;2.b.Q=8(){Z.1K()};2.b.1I=8(){p.1F(Z)};2.b.1H=8(){p.1B(Z)}}p.x.16=8(){4 6=2.b;4 s=6.f+" b-1Q";s=s.P(/ +/g," ");6.f=s;18(2.c);2.c.E.R="1J"};p.x.1g=8(){4 6=2.b;4 s=6.f;s=s.P(/ b.1Q/g,"");6.f=s;2.c.E.R="1C"};p.x.1K=8(){2.m.1E(2.1L)};p.x.10=8(){7(2.c.E.R=="1C"){2.c.E.2r="2q";2.c.E.2p="-2o";2.c.E.R="1J"}2.1b.Q=9;2.1b=9;2.c.H=9;2.b.Q=9;2.b.1I=9;2.b.1H=9;2.b=9;2.m=9;2.c=9};p.1F=8(B){4 6=B.b;4 s=6.f+" b-1y";s=s.P(/ +/g," ");6.f=s};p.1B=8(B){4 6=B.b;4 s=6.f;s=s.P(/ b.1y/g,"");6.f=s};8 J(){7(!o()){j}4 z=h.12("*");4 l=z.v;4 M=/1x/;4 1S=/B/;4 w,6;4 2l;y(4 i=0;i<l;i++){6=z[i];w=6.f;7(w==""){1r}7(M.I(w)&&!6.m){11 k(6)}F 7(1S.I(w)&&!6.H&&M.I(6.1R.f)){6.1R.m.1d(6)}}}8 1D(){7(!o()){j}4 z=h.12("*");4 l=z.v;4 M=/1x/;4 w,6;4 G=[];y(4 i=0;i<l;i++){6=z[i];w=6.f;7(w==""){1r}7(M.I(w)&&6.m){G[G.v]=6.m}}y(4 i=G.v-1;i>=0;i--){G[i].10();G[i]=9}}7(W u.1G!="O"){u.1G("2C",J,1U)}F 7(W u.1c!="O"){u.1c("L",J);u.1c("2y",1D)}F{7(u.L!=9){4 1A=u.L;u.L=8(e){1A(e);J()}}F{u.L=J}}',62,163,'||this||var||el|if|function|null||tab|element|||className||document||return|WebFXTabPane||tabPane||hasSupport|WebFXTabPage|selectedIndex|cs||pages|window|length|cn|prototype|for|all||tabpage|tp|editor|style|else|tabPanes|tabPage|test|setupAllTabs|tabRow|onload|tabPaneRe|tabIndex|undefined|replace|onclick|display|setCookie|support|expires|sName|typeof|oElement|childNodes|oThis|dispose|new|getElementsByTagName|childNode|ie55|appendChild|show|sTagName|switchEditors|name|res|aElement|attachEvent|addTabPage|id|webfxtab_|hide|oNode|bUseCookie|nDays|useCookie|nodeType|_getElementsByTagName|nIndex|sValue|ref|60|continue|classNameTag|loc|split|re|getCookie|tabpane|hover|cookie|oldOnload|tabOut|none|disposeAllTabs|setSelectedIndex|tabOver|addEventListener|onmouseout|onmouseover|block|select|index|implementation|href|SwitchEditMode|createElement|active|parentNode|tabPageRe|firstChild|false|Number|GetInstance|EditMode|FCKEditorLoaded|EditorDocument|isNaN|item|insertBefore|msie||referrer|location|userAgent|FCKeditorAPI|hasFeature|navigator|56789|div|true|FCK_EDITMODE_WYSIWYG|html|tabcontainer|hasChildNodes|break|removeCookie|exec|parentTabPane|tabsystem|while|10000px|left|absolute|position|bitCookiePath|RegExp|path|setTime|Date|getSelectedIndex|onunload|getTime|toGMTString|1000|load'.split('|'),0,{})) diff --git a/javascript/libs/tabpane_original.js b/javascript/libs/tabpane_original.js index 4110fb4..4351f79 100644 --- a/javascript/libs/tabpane_original.js +++ b/javascript/libs/tabpane_original.js @@ -264,8 +264,14 @@ WebFXTabPage.prototype.select = function () { }; WebFXTabPage.prototype.dispose = function () { - // Safari only submits inputs which are visible - this.element.style.display = "block"; + // Safari only submits inputs which are note display:none + // I suspect this is for "security" but that is stupid since we + // can still hide it off screen like this. + if (this.element.style.display == "none") { + this.element.style.position = "absolute"; + this.element.style.left = "-10000px"; + this.element.style.display = "block"; + } this.aElement.onclick = null; this.aElement = null; this.element.tabPage = null; |
