Cry for help - button_to_popup_window()

Cry for help - button_to_popup_window()

by Howard Miller -
အကြောင်းပြန်မှု အရေအတွက်: 2
Core developers ၏ ရုပ်ပုံ Documentation writers ၏ ရုပ်ပုံ Particularly helpful Moodlers ၏ ရုပ်ပုံ Peer reviewers ၏ ရုပ်ပုံ Plugin developers ၏ ရုပ်ပုံ
To all you JavaScript experts....

I am trying to use the button_to_popup_window() function exactly the same as is done in the file resource field to allow a file to be 'chosen' from the file area.

It all looks good (I have named my calling form etc), but it don't work. I get an unhandled javascript exceptiong complaining that there is a security problem. The value is not transferred to the text field and the popup window doesn't close.

I'm guessing I have missed something to allow this to happen that I can't spot. Can anybody advise? My JavaScript skills are sadly lacking ၀မ်းနည်း
ပျှမ်းမျှအဆင့်သတ်မှတ်ချက်များ: -
Howard Miller ထံသို့ အကြောင်းပြန်ရာတွင်

Re: Cry for help - button_to_popup_window()

by Howard Miller -
Core developers ၏ ရုပ်ပုံ Documentation writers ၏ ရုပ်ပုံ Particularly helpful Moodlers ၏ ရုပ်ပုံ Peer reviewers ၏ ရုပ်ပုံ Plugin developers ၏ ရုပ်ပုံ
Sorry to bump..... but anyone???
Howard Miller ထံသို့ အကြောင်းပြန်ရာတွင်

Re: Cry for help - button_to_popup_window()

by Howard Miller -
Core developers ၏ ရုပ်ပုံ Documentation writers ၏ ရုပ်ပုံ Particularly helpful Moodlers ၏ ရုပ်ပုံ Peer reviewers ၏ ရုပ်ပုံ Plugin developers ၏ ရုပ်ပုံ
ahhh forget it... it seems to be because the field is a 'file' type input. It doesn't work with that.

plan b........