Skip to content

Commit

Permalink
removing a stupid and broken "feature" that isn't even implemented an…
Browse files Browse the repository at this point in the history
…d is only cause for confusion -> displaying the crc column in the mylist file table just as it is in the perl version

git-svn-id: svn://dev.anidb.net/svn/trunk@4444 bed53a55-4da3-433c-baf4-d4f70f2fd34a
  • Loading branch information
worf committed Apr 30, 2014
1 parent e1e850b commit de72632
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
5 changes: 1 addition & 4 deletions js-dev/anime3/mylist.js
Original file line number Diff line number Diff line change
Expand Up @@ -196,8 +196,6 @@ function parseData(xmldoc) {
if (!ruid) ruid = uid;
var parseCustomNode = (new Date()) - t1;
// do some triming of the definition cols if possible
if ((!uriObj['showcrc'] || (uriObj['showcrc'] && uriObj['showcrc'] == '0')) && !config['settings']['SHOWCRC'])
removeColAttribute('crc',fileCols);
if (!mylist_settings['noeptb']) removeColAttribute('epno',fileCols);
fileSkips = buildSkipCols(fileCols);
epSkips = buildSkipCols(epCols);
Expand Down Expand Up @@ -847,9 +845,8 @@ function createEpisodeTable(aid) {
} else { // only show files
table.className = 'filelist';
table.id = 'a'+aid+'_filesTable';
colSpan = 12;
colSpan = 13;
if (mylist_settings['noeptb']) colSpan++;
if ((uriObj['showcrc'] && uriObj['showcrc'] == '1') || config['settings']['SHOWCRC']) colSpan++;
var thead = (fileTableHead ? fileTableHead.cloneNode(true) : createFilesTableHead());
table.appendChild(thead);
var tbody = document.createElement('tbody');
Expand Down
5 changes: 1 addition & 4 deletions js/anime3/mylist.js
Original file line number Diff line number Diff line change
Expand Up @@ -196,8 +196,6 @@ function parseData(xmldoc) {
if (!ruid) ruid = uid;
var parseCustomNode = (new Date()) - t1;
// do some triming of the definition cols if possible
if ((!uriObj['showcrc'] || (uriObj['showcrc'] && uriObj['showcrc'] == '0')) && !config['settings']['SHOWCRC'])
removeColAttribute('crc',fileCols);
if (!mylist_settings['noeptb']) removeColAttribute('epno',fileCols);
fileSkips = buildSkipCols(fileCols);
epSkips = buildSkipCols(epCols);
Expand Down Expand Up @@ -847,9 +845,8 @@ function createEpisodeTable(aid) {
} else { // only show files
table.className = 'filelist';
table.id = 'a'+aid+'_filesTable';
colSpan = 12;
colSpan = 13;
if (mylist_settings['noeptb']) colSpan++;
if ((uriObj['showcrc'] && uriObj['showcrc'] == '1') || config['settings']['SHOWCRC']) colSpan++;
var thead = (fileTableHead ? fileTableHead.cloneNode(true) : createFilesTableHead());
table.appendChild(thead);
var tbody = document.createElement('tbody');
Expand Down

0 comments on commit de72632

Please sign in to comment.