[Vtigercrm-developers] Example of app.showModalWindow()?
Conrado Maggi
comaggi at gmail.com
Thu Jun 25 13:19:31 GMT 2015
Hello Alan,
This works for me:
getModal: function (params) {
AppConnector.request(params).then(
function (data) {
app.showModalWindow(data, function (data) {
var instance = new VGSConversions_Js();
instance.bindSaveProject();
});
},
function (jqXHR, textStatus, errorThrown) {
}
);
},
in this scenario data it is a HTML that I generate view calling a TPL
Regards,
Conrado
On Wed, Jun 24, 2015 at 4:35 PM, Alan Lord <alanslists at gmail.com> wrote:
> On 24/06/15 15:12, Christophe Humbert wrote:
>
>> Hello Alan
>>
>> Maybe using unload function see thread here
>>
>> http://stackoverflow.com/questions/6063522/dialog-box-runs-for-1-sec-and-disappears/6065085#6065085
>>
>
> Thanks but no that's not it. This is the vtiger app.showModalWindow
> function It's a jQuery dom "window" not a real window...
>
> I have fudged it for time being with an
> onclick="myJSLibrary_Js.function(var)" but it doesn't feel right to me.
>
> Al
>
>
>
> _______________________________________________
> http://www.vtiger.com/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20150625/51dc9b96/attachment.html>
More information about the vtigercrm-developers
mailing list