We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In DialogUtils.ts:
Missing Q.text('....')
code right:
namespace GSIS.DialogUtils { export function pendingChangesConfirmation(element: JQuery, hasPendingChanges: () => boolean) { element.on('dialogbeforeclose panelbeforeclose', function (e) { if (!Serenity.WX.hasOriginalEvent(e) || !hasPendingChanges()) { return; } e.preventDefault(); Q.confirm(Q.text('Site.Dialogs.PendingChangesConfirmation'), () => element.find('div.save-and-close-button').click(), { onNo: function () { if (element.hasClass('ui-dialog-content')) element.dialog('close'); else if (element.hasClass('s-Panel')) Serenity.TemplatedDialog.closePanel(element); } }); }); } }
The text was updated successfully, but these errors were encountered:
what is missing? Q.text function? or your variable? if it's your variable, u may need to transfer templates to get it where u want it
Sorry, something went wrong.
Q.text is missing. It's a bug.
S.
You are free to modify it to a local text.
No branches or pull requests
In DialogUtils.ts:
Missing Q.text('....')
code right:
The text was updated successfully, but these errors were encountered: