Show customized label when making modifications
This commit is contained in:
parent
1b671e288f
commit
11d25531a4
@ -35,6 +35,7 @@
|
|||||||
$.getJSON('/search', _ctx.query, function(results) {
|
$.getJSON('/search', _ctx.query, function(results) {
|
||||||
saveSnapshot(results);
|
saveSnapshot(results);
|
||||||
outputSnapshot(results);
|
outputSnapshot(results);
|
||||||
|
$('#customized').show();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -133,12 +134,14 @@
|
|||||||
$.getJSON('/search', _ctx.query, function(results) {
|
$.getJSON('/search', _ctx.query, function(results) {
|
||||||
saveSnapshot(results);
|
saveSnapshot(results);
|
||||||
outputSnapshot(results);
|
outputSnapshot(results);
|
||||||
|
$('#customized').hide();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
function onSelectSnapshot() {
|
function onSelectSnapshot() {
|
||||||
var index = $('#historyIndex').slider('getValue');
|
var index = $('#historyIndex').slider('getValue');
|
||||||
outputSnapshot(_ctx.log[index]);
|
outputSnapshot(_ctx.log[index]);
|
||||||
|
$('#customized').show();
|
||||||
}
|
}
|
||||||
|
|
||||||
function saveSnapshot(results) {
|
function saveSnapshot(results) {
|
||||||
|
@ -89,7 +89,7 @@
|
|||||||
var _panelSize = 20;
|
var _panelSize = 20;
|
||||||
var _tickSize = 5;
|
var _tickSize = 5;
|
||||||
var _width = 125;
|
var _width = 125;
|
||||||
var _easeTime = 250;
|
var _easeTime = 200;
|
||||||
|
|
||||||
var _enabled = true;
|
var _enabled = true;
|
||||||
var _canvas = params.canvas;
|
var _canvas = params.canvas;
|
||||||
|
Loading…
Reference in New Issue
Block a user