Commit ca2aa5ad authored by Leigh B Stoller's avatar Leigh B Stoller

Show admin notes automatically.

parent d0a4756b
...@@ -530,6 +530,7 @@ $(function () ...@@ -530,6 +530,7 @@ $(function ()
function SetupAdminNotes() function SetupAdminNotes()
{ {
var modified = 0; var modified = 0;
var notes = $.trim($("#adminnotes-collapse textarea").val());
// Panel starts out collapsed. // Panel starts out collapsed.
$('#adminnotes-collapse').on('show.bs.collapse', function () { $('#adminnotes-collapse').on('show.bs.collapse', function () {
...@@ -556,6 +557,9 @@ $(function () ...@@ -556,6 +557,9 @@ $(function ()
}); });
} }
}); });
if (notes != "") {
$('#adminnotes-collapse').collapse('show');
}
} }
function SaveAdminNotes(done) function SaveAdminNotes(done)
{ {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment