mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-22 20:16:22 +00:00
Attempt at validating.
This commit is contained in:
30
public/js/rules/create.js
Normal file
30
public/js/rules/create.js
Normal file
@@ -0,0 +1,30 @@
|
||||
/*
|
||||
* edit.js
|
||||
* Copyright (C) 2016 Sander Dorigo
|
||||
*
|
||||
* This software may be modified and distributed under the terms
|
||||
* of the MIT license. See the LICENSE file for details.
|
||||
*/
|
||||
|
||||
// make a line.
|
||||
|
||||
$(function () {
|
||||
"use strict";
|
||||
console.log("edit");
|
||||
if (triggerCount == 0) {
|
||||
addNewTrigger();
|
||||
}
|
||||
|
||||
addNewAction();
|
||||
$('.add_rule_trigger').click(function () {
|
||||
addNewTrigger();
|
||||
|
||||
return false;
|
||||
});
|
||||
|
||||
$('.add_rule_action').click(function () {
|
||||
addNewAction();
|
||||
|
||||
return false;
|
||||
});
|
||||
});
|
Reference in New Issue
Block a user