Commit Graph
16 Commits
Author SHA1 Message Date
Linden cc6aed591f chore: adjust links 2025-03-29 21:46:58 +11:00
Linden fb2225e373 chore: add copyright notices to each file
Some people accidentally, mistakenly, and without any malicious intent forget to attribute code from this resource to its source. This change will hopefully assist people, so that they do not make that mistake again.
2025-03-18 18:46:09 +11:00
faizy#6969 9ea2fdede7 fix(alertDialog): set timeout as optional parameter (#580) 2024-05-19 15:39:02 +10:00
Linden 43905bdd62 feat(interface/alert): support dialog timeout
closeAlertDialog will now error if a reason is passed.
Added timeout param to alertDialog.
Resolves #522.
2024-05-08 05:23:27 +10:00
Linden c4b87a0d91 refactor(client/interface): nui focus consistency 2023-03-23 05:55:16 +11:00
Linden 3dd996c38b refactor(client/interface): nui focus tweaks
Add helper functions to set nui focus and restore previous input state.
Ensure focus is reset before triggering responses (promises/callbacks).
2023-03-01 07:25:28 +11:00
Luke b56e6826a8 Merge branch 'v3' 2023-02-17 15:54:20 +01:00
masonschafercodes db4a75dfbc feat(web/alert): new options for alert dialog (#213) 2023-02-01 16:19:08 +01:00
Hepic Greg 86d66b85c1 fix(client/interface): reset nui focus on alert (#192) 2022-12-30 21:16:33 +11:00
Luke d92c1d7e23 feat(web/alert): allow defining alert dialog button labels 2022-12-08 11:46:21 +01:00
Luke 6a8eb35a0a feat(client/interface): close functions for input and alert dialogs 2022-09-29 11:39:30 +02:00
Linden 6254ba9ba2 refactor(resource/interface): formatting and type definitions 2022-09-18 09:06:32 +10:00
Luke 6cf29ac0eb fix(client/interface): cache alert promise
Same as input
2022-08-17 23:47:31 +02:00
Luke 3034a32955 refactor(dialog/alert): allow defining cancel button
Using the same promise type of API that the input dialog is using, if the user closes the dialog via esc or the cancel button the promise will resolve `cancel` otherwise the promise will resolve `confirm`
2022-06-17 20:30:33 +02:00
PoorLatency e93981fc95 feat(interface/alert): register net event (#41)
Allow the alert dialog to be called from server.
2022-06-17 10:23:56 +02:00
Luke 186014f95e feat(web/dialog): alert dialog 2022-06-11 11:33:15 +02:00