mirror of
https://github.com/ziirish/burp-ui.git
synced 2026-05-21 14:55:39 -06:00
various fix
This commit is contained in:
parent
e1104555f0
commit
e338ba1bc0
2 changed files with 3 additions and 3 deletions
|
|
@ -16,7 +16,7 @@ var _client = function() {
|
|||
.margin({bottom: 115, left: 100})
|
||||
;
|
||||
|
||||
tmp.xAxis.showMaxMin(true).tickFormat(function(d) { console.log(d); return d3.time.format('%x %X')(new Date(d)) }).rotateLabels(-45);
|
||||
tmp.xAxis.showMaxMin(true).tickFormat(function(d) { return d3.time.format('%x %X')(new Date(d)) }).rotateLabels(-45);
|
||||
|
||||
tmp.yAxis.tickFormat(d3.format('f'));
|
||||
|
||||
|
|
|
|||
|
|
@ -200,7 +200,7 @@ app.controller('ConfigCtrl', ['$scope', '$http', '$scrollspy', function($scope,
|
|||
/* UX tweak: disable the submit button + change text */
|
||||
submit = form.find('button[type="submit"]');
|
||||
sav = submit.text();
|
||||
submit.text('Saving...');
|
||||
submit.text('{{ _("Saving...") }}');
|
||||
submit.attr('disabled', true);
|
||||
/* submit the data */
|
||||
$.ajax({
|
||||
|
|
@ -266,7 +266,7 @@ app.controller('ConfigCtrl', ['$scope', '$http', '$scrollspy', function($scope,
|
|||
$scope.new[type] = undefined;
|
||||
}
|
||||
$scope.add[type] = true;
|
||||
keys = _.pluck($scope[type], 'name');
|
||||
keys = _.map($scope[type], 'name');
|
||||
diff = _.difference($scope.all[type], keys);
|
||||
$scope.avail[type] = [];
|
||||
_(diff).forEach(function(n) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue