[frio] Add new asynchronous submission of modal form

- Add loading state for jot submit buttons
This commit is contained in:
Hypolite Petovan 2020-01-29 22:50:10 -05:00
parent 3370300376
commit b2143cae53
4 changed files with 56 additions and 4 deletions

View file

@ -1214,6 +1214,7 @@ function status_editor(App $a, $x, $notes_cid = 0, $popup = false)
'$return_path' => $query_str,
'$action' => 'item',
'$share' => ($x['button'] ?? '') ?: DI::l10n()->t('Share'),
'$loading' => DI::l10n()->t('Loading...'),
'$upload' => DI::l10n()->t('Upload photo'),
'$shortupload' => DI::l10n()->t('upload photo'),
'$attach' => DI::l10n()->t('Attach file'),