mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-11 01:12:41 +01:00
59f0e8f950
Summary: Ref T2896, DRAFT Add db columns for recurring events Test Plan: Open event, confirm it still works. Reviewers: chad, #blessed_reviewers, epriestley Reviewed By: #blessed_reviewers, epriestley Subscribers: btrahan, Korvin, epriestley Maniphest Tasks: T2896 Differential Revision: https://secure.phabricator.com/D13039
14 lines
316 B
JavaScript
14 lines
316 B
JavaScript
/**
|
|
* @provides javelin-behavior-recurring-edit
|
|
*/
|
|
|
|
|
|
JX.behavior('recurring-edit', function(config) {
|
|
var checkbox = JX.$(config.isRecurring);
|
|
JX.DOM.listen(checkbox, 'change', null, function() {
|
|
var frequency = JX.$(config.frequency);
|
|
|
|
frequency.disabled = checkbox.checked ? false : true;
|
|
});
|
|
|
|
});
|