mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-26 08:42:41 +01:00
Fix minor CSRF-patch issues.
This commit is contained in:
parent
a3700022a8
commit
30abed8b05
3 changed files with 11 additions and 11 deletions
|
@ -466,7 +466,7 @@ celerity_register_resource_map(array(
|
|||
),
|
||||
'javelin-behavior-differential-feedback-preview' =>
|
||||
array(
|
||||
'uri' => '/res/df57b36c/rsrc/js/application/differential/behavior-comment-preview.js',
|
||||
'uri' => '/res/cb399257/rsrc/js/application/differential/behavior-comment-preview.js',
|
||||
'type' => 'js',
|
||||
'requires' =>
|
||||
array(
|
||||
|
@ -1359,7 +1359,7 @@ celerity_register_resource_map(array(
|
|||
'uri' => '/res/pkg/3f2092d7/differential.pkg.css',
|
||||
'type' => 'css',
|
||||
),
|
||||
'a9d7357e' =>
|
||||
'66a154fc' =>
|
||||
array(
|
||||
'name' => 'differential.pkg.js',
|
||||
'symbols' =>
|
||||
|
@ -1370,7 +1370,7 @@ celerity_register_resource_map(array(
|
|||
3 => 'javelin-behavior-differential-show-more',
|
||||
4 => 'javelin-behavior-differential-diff-radios',
|
||||
),
|
||||
'uri' => '/res/pkg/a9d7357e/differential.pkg.js',
|
||||
'uri' => '/res/pkg/66a154fc/differential.pkg.js',
|
||||
'type' => 'js',
|
||||
),
|
||||
'd0713563' =>
|
||||
|
@ -1413,11 +1413,11 @@ celerity_register_resource_map(array(
|
|||
'javelin-behavior' => '307df223',
|
||||
'javelin-behavior-aphront-basic-tokenizer' => '25f94e94',
|
||||
'javelin-behavior-aphront-form-disable-on-submit' => 'd0713563',
|
||||
'javelin-behavior-differential-diff-radios' => 'a9d7357e',
|
||||
'javelin-behavior-differential-edit-inline-comments' => 'a9d7357e',
|
||||
'javelin-behavior-differential-feedback-preview' => 'a9d7357e',
|
||||
'javelin-behavior-differential-populate' => 'a9d7357e',
|
||||
'javelin-behavior-differential-show-more' => 'a9d7357e',
|
||||
'javelin-behavior-differential-diff-radios' => '66a154fc',
|
||||
'javelin-behavior-differential-edit-inline-comments' => '66a154fc',
|
||||
'javelin-behavior-differential-feedback-preview' => '66a154fc',
|
||||
'javelin-behavior-differential-populate' => '66a154fc',
|
||||
'javelin-behavior-differential-show-more' => '66a154fc',
|
||||
'javelin-behavior-phabricator-keyboard-shortcuts' => 'd0713563',
|
||||
'javelin-behavior-workflow' => 'd0713563',
|
||||
'javelin-dom' => '307df223',
|
||||
|
|
|
@ -56,7 +56,8 @@ class AphrontDefaultApplicationConfiguration
|
|||
'(?P<view>info)/(?P<phid>[^/]+)/' => 'PhabricatorFileViewController',
|
||||
'(?P<view>view)/(?P<phid>[^/]+)/' => 'PhabricatorFileViewController',
|
||||
'(?P<view>download)/(?P<phid>[^/]+)/' => 'PhabricatorFileViewController',
|
||||
'alt/(?<key>[^/]+)/(?<phid>[^/]+)/' => 'PhabricatorFileAltViewController',
|
||||
'alt/(?P<key>[^/]+)/(?P<phid>[^/]+)/'
|
||||
=> 'PhabricatorFileAltViewController',
|
||||
'macro/' => array(
|
||||
'$' => 'PhabricatorFileMacroListController',
|
||||
'edit/(?:(?P<id>\d+)/)?$' => 'PhabricatorFileMacroEditController',
|
||||
|
|
|
@ -30,8 +30,7 @@ JX.behavior('differential-feedback-preview', function(config) {
|
|||
JX.DOM.listen(content, 'keydown', null, trigger);
|
||||
JX.DOM.listen(action, 'change', null, trigger);
|
||||
|
||||
request.start();
|
||||
|
||||
setTimeout(function() { request.start(); }, 0);
|
||||
|
||||
|
||||
function refreshInlinePreview() {
|
||||
|
|
Loading…
Reference in a new issue