I am interested in converting all the
<button type="button" name="btn_campaign_name" id="btn_campaign_name" tabindex="0" title="Select Campaign" class="button firstChild" value="Select Campaign" onclick="open_popup(
"Campaigns",
600,
400,
"",
true,
false,
{"call_back_function":"set_return","form_name":"EditView","field_to_name_array":{"id":"campaign_id","name":"campaign_name"}},
"single",
true
);"><img src="themes/default/images/id-ff-select.png?v=LDyT4APwd4qAUE8ZgFFqDw"></button>
type functions to “div”-type pop-ups
in sugar_3.js:
function open_popup(module_name,width,height,initial_filter,close_popup,hide_clear_button,popup_request_data,popup_mode,create,metadata)......
the reason for this is that I want to embed sugarCRM in a dektop wrapper like Adobe-Air using webkit.
Adobe Air does not have a
window.open
method - that is native to a traditional web-client like ie, firefox, chrome, etc…
- question -
before going down this road - how difficult do you think it will be?