unterminated JS statement

This commit is contained in:
Petr Skoda 2010-09-18 12:37:06 +00:00
parent 034ef76129
commit 9d8de34633

View File

@ -51,7 +51,7 @@ M.data_filepicker.callback = function(params) {
M.data_filepicker.init = function(Y, options) {
options.formcallback = M.data_filepicker.callback;
if (!M.core_filepicker.instances[options.client_id]) {
M.core_filepicker.init(Y, options);
M.core_filepicker.init(Y, options);
}
Y.on('click', function(e, client_id) {
e.preventDefault();
@ -73,7 +73,7 @@ M.data_urlpicker = {};
M.data_urlpicker.init = function(Y, options) {
options.formcallback = M.data_urlpicker.callback;
if (!M.core_filepicker.instances[options.client_id]) {
M.core_filepicker.init(Y, options);
M.core_filepicker.init(Y, options);
}
Y.on('click', function(e, client_id) {
e.preventDefault();
@ -84,7 +84,7 @@ M.data_urlpicker.init = function(Y, options) {
M.data_urlpicker.callback = function (params) {
document.getElementById('field_url_'+params.client_id).value = params.url;
}
};
M.data_imagepicker = {};
@ -99,7 +99,7 @@ M.data_imagepicker.callback = function(params) {
M.data_imagepicker.init = function(Y, options) {
options.formcallback = M.data_imagepicker.callback;
if (!M.core_filepicker.instances[options.client_id]) {
M.core_filepicker.init(Y, options);
M.core_filepicker.init(Y, options);
}
Y.on('click', function(e, client_id) {
e.preventDefault();