xui.alert problem and API dialog

Post bugs here!

xui.alert problem and API dialog

Postby wahono77 » Fri May 31, 2013 7:29 am

I call xui.alert("",uictrl.toHtml(true));
But the result is wrong layout as bug1.png.

In CrossUI dialog, search dialog is broken as bug2.png

Thanks
Attachments
bug2.png
bug2.png (9.69 KiB) Viewed 1806 times
bug1.png
bug1.png (4.66 KiB) Viewed 1806 times
wahono77
 
Posts: 90
Joined: Sat Apr 13, 2013 6:04 am

Re: xui.alert problem and API dialog

Postby support » Fri May 31, 2013 9:41 am

xui.alert supports HTML(not text), so you need to take care of your html input.

javascript code
xui.alert("",uictrl.toHtml(true).replace(/</g, '&lt;'))
support
 
Posts: 332
Joined: Sat Apr 27, 2013 9:22 am


Return to Bug Report

Who is online

Users browsing this forum: No registered users and 0 guests

cron