1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-10 00:42:41 +01:00

Conpherence - make Hide Column action save user preference

Summary: Fixes T7532.

Test Plan: clicked it, reloaded it, still closed

Reviewers: epriestley, chad

Reviewed By: chad

Subscribers: Korvin, epriestley

Maniphest Tasks: T7532

Differential Revision: https://secure.phabricator.com/D12044
This commit is contained in:
Bob Trahan 2015-03-11 12:58:51 -07:00
parent 116f4625b6
commit c85c07012e
3 changed files with 15 additions and 15 deletions

View file

@ -353,7 +353,7 @@ return array(
'rsrc/js/application/auth/behavior-persona-login.js' => '9414ff18',
'rsrc/js/application/config/behavior-reorder-fields.js' => '14a827de',
'rsrc/js/application/conpherence/ConpherenceThreadManager.js' => 'efef202b',
'rsrc/js/application/conpherence/behavior-durable-column.js' => 'aa3b6c22',
'rsrc/js/application/conpherence/behavior-durable-column.js' => '016fa2e9',
'rsrc/js/application/conpherence/behavior-menu.js' => 'e476c952',
'rsrc/js/application/conpherence/behavior-pontificate.js' => '21ba5861',
'rsrc/js/application/conpherence/behavior-quicksand-blacklist.js' => '7927a7d3',
@ -585,7 +585,7 @@ return array(
'javelin-behavior-diffusion-locate-file' => '6d3e1947',
'javelin-behavior-diffusion-pull-lastmodified' => '2b228192',
'javelin-behavior-doorkeeper-tag' => 'e5822781',
'javelin-behavior-durable-column' => 'aa3b6c22',
'javelin-behavior-durable-column' => '016fa2e9',
'javelin-behavior-error-log' => '6882e80a',
'javelin-behavior-fancy-datepicker' => 'c51ae228',
'javelin-behavior-global-drag-and-drop' => '07f199d8',
@ -834,6 +834,15 @@ return array(
'unhandled-exception-css' => '37d4f9a2',
),
'requires' => array(
'016fa2e9' => array(
'javelin-behavior',
'javelin-dom',
'javelin-stratcom',
'javelin-scrollbar',
'javelin-quicksand',
'phabricator-keyboard-shortcut',
'conpherence-thread-manager',
),
'0286a1db' => array(
'javelin-dom',
'javelin-util',
@ -1654,15 +1663,6 @@ return array(
'javelin-util',
'phabricator-prefab',
),
'aa3b6c22' => array(
'javelin-behavior',
'javelin-dom',
'javelin-stratcom',
'javelin-scrollbar',
'javelin-quicksand',
'phabricator-keyboard-shortcut',
'conpherence-thread-manager',
),
'b1f0ccee' => array(
'javelin-install',
'javelin-dom',

View file

@ -296,10 +296,10 @@ final class ConpherenceDurableColumnView extends AphrontTagView {
'key' => 'go_conpherence',
),
array(
'name' => pht('Close Window'),
'name' => pht('Hide Column'),
'href' => '#',
'icon' => 'fa-times',
'key' => 'close_window',
'key' => 'hide_column',
),);
}

View file

@ -152,9 +152,9 @@ JX.behavior('durable-column', function(config, statics) {
case 'go_conpherence':
JX.$U(link.href).go();
break;
case 'close_window':
case 'hide_column':
JX.Stratcom.invoke('notification-panel-close');
_toggleColumn();
_toggleColumn(true);
break;
}
});