Skip to content

Commit

Permalink
Re-add slicing and bulk import clear improvements from Maarten
Browse files Browse the repository at this point in the history
  • Loading branch information
marbindrakon committed Mar 21, 2015
1 parent 4379d83 commit 65bcae0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion evewspace/Map/static/js/map_functions.js
Original file line number Diff line number Diff line change
Expand Up @@ -715,6 +715,7 @@ function BulkImport(msID) {
data: $('#bulkSigForm').serialize(),
success: function (data) {
LoadSignatures(msID, false);
$('#pasteField').val('');
},
error: function (data) {
alert(data.responseText);
Expand Down Expand Up @@ -1028,7 +1029,7 @@ function DrawSystem(system) {
var friendly = "";
if (system.Friendly) {
if (system.Friendly.length > 6) {
if ((sliceLastChars == true) || (zenMode)) {
if (sliceLastChars == true) {
system.Friendly = "." + system.Friendly.slice(-6);
} else {
system.Friendly = system.Friendly.slice(0, 6) + ".";
Expand Down

0 comments on commit 65bcae0

Please sign in to comment.