This file contains hidden or 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
| var formNote = ""; | |
| formNote += "<div class='hs_note'>"; | |
| formNote += "<form id='note_edit_form' action='/accounts/" + account_class + "/" + account_id + "/"+noteAction+"' method='post' data-remote='true'>"; | |
| formNote += "<div style='margin:0;padding:0;display:inline'><input name='utf8' type='hidden' value='✓' /><input name='authenticity_token' type='hidden' value='"+$("meta[name=csrf-token]").attr("content")+"' /></div>"; | |
| formNote += "<input type='hidden' name='note[metric]' value='" + metric + "'>"; | |
| formNote += "<input type='hidden' name='note[date]' value='" + dateformat + "'>"; | |
| if(note_id!=undefined) { | |
| formNote += "<input type='hidden' name='note[id]' value='" + note_id + "'>"; | |
| } | |
| formNote += "<textarea name='note[content]' class='textNote' cols='32' rows='7'>"+note_text+"</textarea><br>"; |
NewerOlder