Page MenuHomePhabricator

D11065.id26558.diff
No OneTemporary

D11065.id26558.diff

diff --git a/resources/celerity/map.php b/resources/celerity/map.php
--- a/resources/celerity/map.php
+++ b/resources/celerity/map.php
@@ -8,7 +8,7 @@
return array(
'names' => array(
'core.pkg.css' => '679c69f6',
- 'core.pkg.js' => '2d1f7db1',
+ 'core.pkg.js' => '44aac665',
'darkconsole.pkg.js' => 'c7544fa0',
'differential.pkg.css' => '8af45893',
'differential.pkg.js' => '42c10e78',
@@ -168,7 +168,7 @@
'rsrc/externals/javelin/core/init.js' => 'b88ab49e',
'rsrc/externals/javelin/core/init_node.js' => 'd7dde471',
'rsrc/externals/javelin/core/install.js' => '1ffb3a9c',
- 'rsrc/externals/javelin/core/util.js' => 'e7995242',
+ 'rsrc/externals/javelin/core/util.js' => '90e3fde9',
'rsrc/externals/javelin/docs/Base.js' => '74676256',
'rsrc/externals/javelin/docs/onload.js' => 'e819c479',
'rsrc/externals/javelin/ext/fx/Color.js' => '7e41274a',
@@ -427,7 +427,7 @@
'rsrc/js/application/uiexample/ReactorSendPropertiesExample.js' => 'b1f0ccee',
'rsrc/js/application/uiexample/busy-example.js' => '60479091',
'rsrc/js/application/uiexample/gesture-example.js' => '558829c2',
- 'rsrc/js/application/uiexample/notification-example.js' => '7a9677fc',
+ 'rsrc/js/application/uiexample/notification-example.js' => '8ce821c5',
'rsrc/js/core/Busy.js' => '6453c869',
'rsrc/js/core/DragAndDropFileUpload.js' => '8c49f386',
'rsrc/js/core/DraggableList.js' => 'a16ec1c6',
@@ -610,7 +610,7 @@
'javelin-behavior-phabricator-keyboard-shortcuts' => 'd75709e6',
'javelin-behavior-phabricator-line-linker' => 'f726d506',
'javelin-behavior-phabricator-nav' => '14d7a8b8',
- 'javelin-behavior-phabricator-notification-example' => '7a9677fc',
+ 'javelin-behavior-phabricator-notification-example' => '8ce821c5',
'javelin-behavior-phabricator-object-selector' => '49b73b36',
'javelin-behavior-phabricator-oncopy' => '2926fff2',
'javelin-behavior-phabricator-remarkup-assist' => 'e32d14ab',
@@ -677,7 +677,7 @@
'javelin-typeahead-source' => 'fcba4ecc',
'javelin-typeahead-static-source' => '316b8fa1',
'javelin-uri' => '6eff08aa',
- 'javelin-util' => 'e7995242',
+ 'javelin-util' => '90e3fde9',
'javelin-vector' => 'cc1bd0b0',
'javelin-view' => '0f764c35',
'javelin-view-html' => 'e5b406f9',
@@ -1271,11 +1271,6 @@
'owners-path-editor',
'javelin-behavior',
),
- '7a9677fc' => array(
- 'phabricator-notification',
- 'javelin-stratcom',
- 'javelin-behavior',
- ),
'7b98d7c5' => array(
'javelin-behavior',
'javelin-dom',
@@ -1362,6 +1357,11 @@
'javelin-uri',
'phabricator-file-upload',
),
+ '8ce821c5' => array(
+ 'phabricator-notification',
+ 'javelin-stratcom',
+ 'javelin-behavior',
+ ),
'8ef9ab58' => array(
'javelin-behavior',
'javelin-dom',
diff --git a/webroot/rsrc/externals/javelin/core/util.js b/webroot/rsrc/externals/javelin/core/util.js
--- a/webroot/rsrc/externals/javelin/core/util.js
+++ b/webroot/rsrc/externals/javelin/core/util.js
@@ -319,7 +319,7 @@
if (recent_alerts.length >= 3 &&
(recent_alerts[recent_alerts.length - 1] - recent_alerts[0]) < 5000) {
- if (confirm(msg + "\n\nLots of alert()s recently. Kill them?")) {
+ if (window.confirm(msg + "\n\nLots of alert()s recently. Kill them?")) {
window.alert = JX.bag;
}
} else {
diff --git a/webroot/rsrc/js/application/uiexample/notification-example.js b/webroot/rsrc/js/application/uiexample/notification-example.js
--- a/webroot/rsrc/js/application/uiexample/notification-example.js
+++ b/webroot/rsrc/js/application/uiexample/notification-example.js
@@ -39,7 +39,7 @@
notification.listen(
'activate',
function() {
- if (!confirm('Close notification?')) {
+ if (!window.confirm('Close notification?')) {
JX.Stratcom.context().kill();
}
});

File Metadata

Mime Type
text/plain
Expires
Fri, Sep 20, 11:38 PM (21 h, 56 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6624398
Default Alt Text
D11065.id26558.diff (3 KB)

Event Timeline