summaryrefslogtreecommitdiffstats
path: root/did-model.lua
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2010-04-07 08:07:06 +0000
committerTed Trask <ttrask01@yahoo.com>2010-04-07 08:07:06 +0000
commitf34b36531959c92248da93db8151d9a5c393a293 (patch)
treeda6b9d0b6f584ff91e30a8678ebbdd9a09f4a687 /did-model.lua
parent62e2a9e093e3acbbeb96b63dc3f9e2c2c20cf69d (diff)
downloadacf-did-f34b36531959c92248da93db8151d9a5c393a293.tar.bz2
acf-did-f34b36531959c92248da93db8151d9a5c393a293.tar.xz
Automatically publish changes, change order of editdefinition buttons.
Diffstat (limited to 'did-model.lua')
-rw-r--r--did-model.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/did-model.lua b/did-model.lua
index 0bb88c2..d817a37 100644
--- a/did-model.lua
+++ b/did-model.lua
@@ -862,6 +862,8 @@ function savedefinition(defin, test, exists)
defin.descr = defin.descr.." no change"
end
defin.errtxt = nil
+ -- Publish the change immediately
+ publishdefinition(definition.did)
end
if connected then databasedisconnect() end
end)
@@ -962,7 +964,7 @@ function publishdefinition(did)
publishrules(did, rules)
errtxt = nil
result = "Published DID rules"
- logme("Published DID "..did)
+ --logme("Published DID "..did)
break
end
end