mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-15 19:19:17 +00:00
fix: program enrollment button labels (#30148)
This commit is contained in:
@@ -39,16 +39,13 @@
|
|||||||
frappe.call(opts).then(res => {
|
frappe.call(opts).then(res => {
|
||||||
let success_dialog = new frappe.ui.Dialog({
|
let success_dialog = new frappe.ui.Dialog({
|
||||||
title: __('Success'),
|
title: __('Success'),
|
||||||
primary_action_label: __('View Program Content'),
|
primary_action_label: __('OK'),
|
||||||
primary_action: function() {
|
primary_action: function() {
|
||||||
window.location.reload();
|
window.location.reload();
|
||||||
},
|
|
||||||
secondary_action: function() {
|
|
||||||
window.location.reload();
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
success_dialog.show();
|
success_dialog.show();
|
||||||
success_dialog.set_message(__('You have successfully enrolled for the program '));
|
success_dialog.set_message(__('You have successfully enrolled for the program.'));
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user