Changing the cancel button works fine, but OK does not. Am I missing
something?
Thanks
Here is the test page:
<html>
<head>
<link rel="stylesheet" href="assets/jplex.css" type="text/css"/>
<script src="jplex.js" type="text/javascript" charset="utf-8"></
script>
<script type="text/javascript">
jPlex.include("jplex.components.Frame");
jPlex.include("jplex.components.frame.Modal");
jPlex.include('jplex.components.frame.Dialog');
function showDialog() {
var dialog = new Dialog('session-exp', {
modal: true,
cancelButtonLabel: 'No Way',
okButtonLabel: 'Yes Way',
title: 'Warning',
minWidth: 300,
});
dialog.setBody("This is just a test");
dialog.show();
}
</script>
</head>
<body>
<a href="" onclick="showDialog(); return false;">Click Me</a>
</body>
</html>
Nice to see you're using jPlex. This bug has been reported to issue 22
http://code.google.com/p/jplex/issues/detail?id=22&can=1
and has been fixed in rev93 of the trunk. I just made a dist of it (available in the downloads) as we are no longer actively developing this lib. It should be pretty stable but we do not have time to make new components :)
Don't hesitate to make us feedback
> --
> Vous recevez ce message, car vous êtes abonné au groupe Google Groupes jPlex UI User List.
> Pour envoyer un message à ce groupe, adressez un e-mail à jple...@googlegroups.com.
> Pour vous désabonner de ce groupe, envoyez un e-mail à l'adresse jplex-ui+u...@googlegroups.com.
> Pour plus d'options, consultez la page de ce groupe : http://groups.google.com/group/jplex-ui?hl=fr
>
>
Loïc Petit
--------------------------------
France Telecom R&D/MAPS/SHINE/MADE
Laboratoire d'Informatique de Grenoble (SIGMA)
Tel. : +33 (0)4 76 76 43 84/ +33 (0)6 87 08 38 27
http://sites.google.com/site/loicpetit/