1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-23 07:12:41 +01:00
phorge-phorge/webroot/rsrc/js/application
Joshua Spence 5251f08fb4 Use window.confirm instead of confirm
Summary:
This silences the following JSHint warning:

```
>>> Lint for webroot/rsrc/js/application/uiexample/notification-example.js:

   Warning  (W117) JSHintW117
    'confirm' is not defined.

              39           notification.listen(
              40             'activate',
              41             function() {
    >>>       42               if (!confirm('Close notification?')) {
              43                 JX.Stratcom.context().kill();
              44               }
              45             });

```

Test Plan: `arc lint`

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: Korvin, epriestley

Differential Revision: https://secure.phabricator.com/D11065
2014-12-30 02:55:12 -08:00
..
aphlict Implement more correct white-icon menu behavior 2014-12-10 16:26:40 -08:00
auth Add Persona auth provider 2013-10-14 14:34:57 -07:00
config Remove unused JavaScript variables. 2014-06-24 03:27:47 +10:00
conpherence Remove unused JavaScript variables. 2014-06-24 03:27:47 +10:00
countdown Define JavaScript functions before they are used 2014-12-30 02:53:32 -08:00
dashboard Fix various spelling mistakes 2014-07-13 00:45:33 +10:00
differential Transactions - kill the old "show all" code pathways 2014-12-04 14:55:18 -08:00
diffusion Change double quotes to single quotes in JavaScript. 2014-06-24 03:35:39 +10:00
doorkeeper Various linter fixes. 2014-02-26 12:44:58 -08:00
files Various linter fixes. 2014-02-26 12:44:58 -08:00
herald T5015, Allow Herald rules for Maniphest to act on task status changes 2014-11-12 12:55:24 -08:00
maniphest Define JavaScript functions before they are used 2014-12-30 02:53:32 -08:00
owners Change double quotes to single quotes in JavaScript. 2014-06-24 03:35:39 +10:00
passphrase Remove unused JavaScript variables. 2014-06-24 03:27:47 +10:00
phame Remove unused JavaScript variables. 2014-06-24 03:27:47 +10:00
pholio Define JavaScript functions before they are used 2014-12-30 02:53:32 -08:00
phortune Define JavaScript functions before they are used 2014-12-30 02:53:32 -08:00
policy Mostly modernize the policy control typeahead 2014-07-17 15:56:20 -07:00
ponder Remove unused JavaScript variables. 2014-06-24 03:27:47 +10:00
projects Fix three issues with scrolling while dragging items (e.g., on workboards) 2014-09-09 14:20:27 -07:00
releeph Remove @group annotations 2014-07-10 08:12:48 +10:00
repository Remove unused JavaScript variables. 2014-06-24 03:27:47 +10:00
search Remove unused JavaScript variables. 2014-06-24 03:27:47 +10:00
slowvote Remove unused JavaScript variables. 2014-06-24 03:27:47 +10:00
transactions Transactions - change show all key from "~" to "@" 2014-12-12 11:23:56 -08:00
uiexample Use window.confirm instead of confirm 2014-12-30 02:55:12 -08:00