Lines 81-87
function logOut(){
Link Here
|
81 |
} |
81 |
} |
82 |
|
82 |
|
83 |
function openHelp(){ |
83 |
function openHelp(){ |
84 |
openWindow("/cgi-bin/koha/help.pl","Koha help",600,600); |
84 |
openWindow("/cgi-bin/koha/help.pl","KohaHelp",600,600); |
85 |
} |
85 |
} |
86 |
|
86 |
|
87 |
jQuery.fn.preventDoubleFormSubmit = function() { |
87 |
jQuery.fn.preventDoubleFormSubmit = function() { |
Lines 98-104
function openWindow(link,name,width,height) {
Link Here
|
98 |
name = (typeof name == "undefined")?'popup':name; |
98 |
name = (typeof name == "undefined")?'popup':name; |
99 |
width = (typeof width == "undefined")?'600':width; |
99 |
width = (typeof width == "undefined")?'600':width; |
100 |
height = (typeof height == "undefined")?'400':height; |
100 |
height = (typeof height == "undefined")?'400':height; |
101 |
var newin=window.open(link,name,'width='+width+',height='+height+',resizable=yes,toolbar=false,scrollbars=yes,top'); |
101 |
//IE <= 9 can't handle a "name" with whitespace |
|
|
102 |
try { |
103 |
var newin=window.open(link,name,'width='+width+',height='+height+',resizable=yes,toolbar=false,scrollbars=yes,top'); |
104 |
} catch(e) { |
105 |
var newin=window.open(link,null,'width='+width+',height='+height+',resizable=yes,toolbar=false,scrollbars=yes,top'); |
106 |
} |
102 |
} |
107 |
} |
103 |
|
108 |
|
104 |
// Use this function to remove the focus from any element for |
109 |
// Use this function to remove the focus from any element for |