Skip to content

Commit

Permalink
Item13129: don't process tables already init'ed
Browse files Browse the repository at this point in the history
... by another javascript table module. These need to add a foswikiTableInited
class to flag it being initialized already.
  • Loading branch information
MichaelDaum committed Dec 2, 2014
1 parent c8febc6 commit 5e7fa21
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pub/System/JQTablePlugin/tables.uncompressed.js
Expand Up @@ -448,10 +448,10 @@

if (sort) {
if (sort == 'all') {
selector += ", .foswikiTable";
selector += ", .foswikiTable:not(.foswikiTableInited)";
} else if (sort == 'attachments') {
// Just attachments
selector += ", .foswikiAttachments table";
selector += ", .foswikiAttachments:not(.foswikiAttachmentsInited) table";
}
}

Expand Down

0 comments on commit 5e7fa21

Please sign in to comment.