2978 |
25 Nov 14 |
nicklas |
1 |
|
2978 |
25 Nov 14 |
nicklas |
var Options = function() |
2978 |
25 Nov 14 |
nicklas |
3 |
{ |
2978 |
25 Nov 14 |
nicklas |
var opt = {}; |
2978 |
25 Nov 14 |
nicklas |
5 |
|
2978 |
25 Nov 14 |
nicklas |
opt.initPage = function() |
2978 |
25 Nov 14 |
nicklas |
7 |
{ |
2978 |
25 Nov 14 |
nicklas |
Buttons.addClickHandler('close', App.closeWindow); |
2978 |
25 Nov 14 |
nicklas |
Buttons.addClickHandler('btnSave', opt.save); |
2978 |
25 Nov 14 |
nicklas |
10 |
} |
2978 |
25 Nov 14 |
nicklas |
11 |
|
2978 |
25 Nov 14 |
nicklas |
opt.save = function() |
2978 |
25 Nov 14 |
nicklas |
13 |
{ |
2978 |
25 Nov 14 |
nicklas |
var frm = document.forms['options']; |
2978 |
25 Nov 14 |
nicklas |
frm.submit(); |
2978 |
25 Nov 14 |
nicklas |
16 |
} |
2978 |
25 Nov 14 |
nicklas |
17 |
|
2978 |
25 Nov 14 |
nicklas |
return opt; |
2978 |
25 Nov 14 |
nicklas |
19 |
}(); |
2978 |
25 Nov 14 |
nicklas |
20 |
|
2978 |
25 Nov 14 |
nicklas |
Doc.onLoad(Options.initPage); |
2978 |
25 Nov 14 |
nicklas |
22 |
|