Skip to content

TagSpaces is an offline, open source, document manager with tagging support

code styling

uggrock69fad885e31a
diff --git a/data/ext/perspectiveList/perspectiveUI.js b/data/ext/perspectiveList/perspectiveUI.js
index 46daf6519..ee5e9f5fa 100644
--- a/data/ext/perspectiveList/perspectiveUI.js
+++ b/data/ext/perspectiveList/perspectiveUI.js
@@ -476,11 +476,7 @@ define(function(require, exports, module) {
$("#" + this.extensionID + "Container").find(".fileSelection").find("i")
.removeClass("fa-check-square-o")
.addClass("fa-square-o");
- $("#" + this.extensionID + "Container").find("tr")
- .removeClass('ui-selected');
-
- // Reseting select all button
- //$("#"+this.extensionID+"ToogleSelectAll").find("i").removeClass("fa-check-square-o").addClass("fa-square-o");
+ $("#" + this.extensionID + "Container").find("tr").removeClass('ui-selected');
};
ExtUI.prototype.selectFile = function(uiElement, filePath) {
@@ -519,22 +515,10 @@ define(function(require, exports, module) {
this.fileTable.fnSetColumnVis(TSCORE.fileListFILEPATH, true);
}
- var translation = $.i18n.t("ns.perspectiveList:fileSize");
- if (translation.length > 0) {
- $("#" + this.extensionID + "Container").find("th:contains('Size')").text(translation);
- }
- translation = $.i18n.t("ns.perspectiveList:fileLDTM");
- if (translation.length > 0) {
- $("#" + this.extensionID + "Container").find("th:contains('Last Modified')").text(translation);
- }
- translation = $.i18n.t("ns.perspectiveList:filePath");
- if (translation.length > 0) {
- $("#" + this.extensionID + "Container").find("th:contains('File Path')").text(translation);
- }
- translation = $.i18n.t("ns.perspectiveList:fileName");
- if (translation.length > 0) {
- $("#" + this.extensionID + "Container").find("th:contains('File Name')").text();
- }
+ $("#" + this.extensionID + "Container").find("th:contains('Size')").text($.i18n.t("ns.perspectiveList:fileSize"));
+ $("#" + this.extensionID + "Container").find("th:contains('Last Modified')").text($.i18n.t("ns.perspectiveList:fileLDTM"));
+ $("#" + this.extensionID + "Container").find("th:contains('File Path')").text($.i18n.t("ns.perspectiveList:filePath"));
+ $("#" + this.extensionID + "Container").find("th:contains('File Name')").text($.i18n.t("ns.perspectiveList:fileName"));
this.showFileDetails = !this.showFileDetails;
};
diff --git a/data/ext/perspectiveList/toolbar.html b/data/ext/perspectiveList/toolbar.html
index 8d5b7ef38..f9760cf22 100644
--- a/data/ext/perspectiveList/toolbar.html
+++ b/data/ext/perspectiveList/toolbar.html
@@ -6,7 +6,7 @@
<li class="dropdown-header">
<button class="close">&times;</button>&nbsp;
</li>
- <li class="divider"></li>
+ <!--li class="divider"></li-->
<li><a id="{{id}}CreateHTMLFileButton">
<i class="fa fa-file-image-o fa-lg fa-fw"></i>&nbsp;<span data-i18n="ns.perspectiveList:createHTMLFile"></span>
</a></li>