msg += "(" + picinfo[files[input_index]].deleted+ ")";
}
say(msg);
+ return false;
}
function toggle_zoom() {
zoom = "sm/";
}
setpic();
+ return false;
}
function move_by_filter(direction, filter) {
}
function move_to_begenning() {
move_by_filter(-1, function(i) { return i == 0; });
+ return false;
}
function move_to_end() {
move_by_filter(1, function(i) { return i == files.length - 1; });
+ return false;
}
function move_to_nondeleted(direction) {
move_by_filter(direction, function(i) {
delete picinfo[files[input_index]].deleted;
save_picinfo();
say("Undeleted");
+ return false;
}
function say_exposure() {
if (!endsWith(files[input_index], ".NEF")) {
say("Exposure adjustment not available");
- return;
+ return false;
}
var display_exposure = (exposure / 4) - 3.5;
say((display_exposure >= 0 ? "+" : "") + display_exposure);
+ return false;
}
function change_exposure(amount) {
}
save_picinfo();
setpic();
+ return false;
}
});
commands.push("");
$("#shell_out").text(commands.join("\n")).show();
+ return false;
}
function clean_picinfo() {