Fix uncommited column in poll hidden in published mode

This commit is contained in:
yflory
2017-12-22 14:42:37 +01:00
parent 7164d2dfdd
commit 5e8b183ee6
2 changed files with 10 additions and 4 deletions

View File

@@ -1188,6 +1188,10 @@ define([
APP.loggedIn = common.isLoggedIn();
APP.SFCommon = common;
if (APP.readOnly) {
$('#cp-app-poll-form').addClass('cp-app-poll-readonly');
}
APP.origin = common.getMetadataMgr().getPrivateData().origin;
APP.$body = $('body');