Dialog extra button text problem, buttontext stored in a variable
- $('#div_msg').dialog({
- modal: true,
- buttons: {
- "Ok": function() {
- $(this).dialog("close");
- },
- sExtraButtonTekst: function() {
- document.location = sExtraButtonLink;
- }
- }
- });
I get an extra button this way but the text in it is sExtraButtonTekst while it should be text in that variable, for example: Modify properties
Any idea how to solve this?