You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@marmotta.apache.org by ss...@apache.org on 2013/06/10 14:51:39 UTC
git commit: small bug fix in ldcache ui
Updated Branches:
refs/heads/develop 38389201f -> ba7b8fe7b
small bug fix in ldcache ui
Project: http://git-wip-us.apache.org/repos/asf/incubator-marmotta/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-marmotta/commit/ba7b8fe7
Tree: http://git-wip-us.apache.org/repos/asf/incubator-marmotta/tree/ba7b8fe7
Diff: http://git-wip-us.apache.org/repos/asf/incubator-marmotta/diff/ba7b8fe7
Branch: refs/heads/develop
Commit: ba7b8fe7b428cfe0bc79df74ad4f347987ee3ca8
Parents: 3838920
Author: Sebastian Schaffert <ss...@apache.org>
Authored: Mon Jun 10 14:51:30 2013 +0200
Committer: Sebastian Schaffert <ss...@apache.org>
Committed: Mon Jun 10 14:51:30 2013 +0200
----------------------------------------------------------------------
.../src/main/resources/web/admin/widgets/lmf_ldcache.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/ba7b8fe7/platform/marmotta-ldcache/src/main/resources/web/admin/widgets/lmf_ldcache.js
----------------------------------------------------------------------
diff --git a/platform/marmotta-ldcache/src/main/resources/web/admin/widgets/lmf_ldcache.js b/platform/marmotta-ldcache/src/main/resources/web/admin/widgets/lmf_ldcache.js
index ac5246d..ee32b22 100644
--- a/platform/marmotta-ldcache/src/main/resources/web/admin/widgets/lmf_ldcache.js
+++ b/platform/marmotta-ldcache/src/main/resources/web/admin/widgets/lmf_ldcache.js
@@ -213,7 +213,7 @@
}
for ( var i = 0; i < ps.length; i++) {
- if(ps[i].volatile) {
+ if(!ps[i].volatile) {
var delBtn = $("<button/>").text("delete");
delBtn.attr('data-id', ps[i].id);
delBtn.click(function() {
@@ -238,7 +238,7 @@
$("<td/>").text(ps[i].endpoint || '').appendTo(tr);
$("<td/>").text(ps[i].mimetype != undefined ? ctToString(ps[i].mimetype) : '').appendTo(tr);
$("<td/>").text(ps[i].expiry || '').appendTo(tr);
- if(ps[i].volatile) {
+ if(!ps[i].volatile) {
$("<td/>").append(modBtn).append(delBtn).appendTo(tr);
} else {
$("<td>autoregistered</td>").appendTo(tr);