Update javascript code.

This commit is contained in:
James Cole
2017-01-02 08:30:20 +01:00
parent 3cd0540474
commit 533797fc9e
23 changed files with 24 additions and 110 deletions

View File

@@ -11,12 +11,6 @@
var triggerCount = 0;
var actionCount = 0;
$(function () {
"use strict";
console.log('edit-create');
});
function addNewTrigger() {
"use strict";
triggerCount++;
@@ -41,7 +35,6 @@ function addNewAction() {
actionCount++;
$.getJSON('json/action', {count: actionCount}).done(function (data) {
//console.log(data.html);
$('tbody.rule-action-tbody').append(data.html);
// add action things.