Changeset 8706
- Timestamp:
- 08/23/10 16:44:38 (21 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/PatternSkin/pub/System/PatternSkin/pattern_src.js
r8564 r8706 59 59 $('a.foswikiPopUp').click( 60 60 function(e) { 61 // foswiki.Window.openPopup(this.href, {template:"viewplain"}); 61 // SMELL: would be a lot better looking with a jQuery 62 // popup 63 if (!this.href) 64 return false; 65 66 if (this.href.indexOf("?") > 0) 67 url = this.href + ';template=viewplain'; 68 else 69 url = this.href + '?template=viewplain'; 70 71 var window = open( 72 url, '', 73 "width=600,height=480,titlebar=0,resizable,scrollbars"); 74 75 if (window) 76 window.focus(); 77 62 78 return false; 63 79 }); 64 80 65 81 $('input.foswikiFocus').each( 66 82 function(index, el) { 67 83 el.focus(); 68 84 }); 69 85 70 86 $('input.foswikiChangeFormButton').click( 71 87 function(e) {
Note: See TracChangeset
for help on using the changeset viewer.
