Last active
August 29, 2015 13:55
-
-
Save icoxfog417/8700879 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function () { | |
"use strict"; | |
kintone.events.on(['app.record.detail.show','app.record.create.show','app.record.edit.show'], function(event){ | |
var toggle = document.getElementById("goog-splitpane-handle-gaia"); //コメント/変更履歴欄を閉じる | |
if(toggle == null){ | |
return false; | |
}else{ | |
if(toggle.getAttribute("class").indexOf("contents-resizer-handle-open-gaia") > -1){ | |
toggle.click(); | |
} | |
if(toggle.getAttribute("class").indexOf("contents-resizer-handle-close-gaia") > -1){ | |
toggle.click(); | |
} | |
} | |
}); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
そのうち対応されると思われるが、コメント/変更履歴欄を常にcloseにするJavaScriptカスタマイズ。
2014/1現在だと、closeしたまま編集画面に遷移するとボタンはcloseだがコメント/履歴欄は開いているという状態になるので、上記のような対応が必要