diff options
| author | LV-426 <lv-426@taproot.org.il> | 2015-05-22 02:17:55 +0300 |
|---|---|---|
| committer | LV-426 <lv-426@taproot.org.il> | 2015-05-22 02:41:21 +0300 |
| commit | a06fad66481de2df262266aac78ff85e0b2e42e0 (patch) | |
| tree | d1e1e4298090a611228dce3faa9a258594e01fa8 /src | |
| parent | 7a9e9fdadf89ffff7fe5b75b48a405c843910c15 (diff) | |
devtools: import: clear file-list on re-selection
Diffstat (limited to 'src')
| -rw-r--r-- | src/client/devtools.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/devtools.js b/src/client/devtools.js index 1274652e..9e0bd308 100644 --- a/src/client/devtools.js +++ b/src/client/devtools.js @@ -77,6 +77,7 @@ function($, rz_core, file_saver) { return; } + $('#debug-view__import__file-list').children().remove(); $.map(import_file_set, function(file){ var e_file_path; @@ -84,7 +85,7 @@ function($, rz_core, file_saver) { e_file_path = $('<div>'); e_file_path.addClass('debug-view__import__input_file_name') e_file_path.text('- ' + file.name); - $('#debug-view__import').append(e_file_path); + $('#debug-view__import__file-list').append(e_file_path); }); $('#devtools__import__step__export').show(); // enable import exec button |
