Made working principle more error prone and allowed for error recovery using JS/JSON

This commit is contained in:
2019-06-18 16:57:46 +02:00
parent a30e5d76a1
commit 7f019dd740
3 changed files with 13 additions and 4 deletions

View File

@@ -14,7 +14,7 @@ $user = $auth->getCurrentUser();
if($mode === 'edit')
{
echo "<form method='POST' action='index.php?option=com_clubs&task=parts.edit&format=json'>";
echo "<form method='POST' action='index.php?option=com_clubs&task=parts.edit&format=json' class='clubs-part'>";
switch($type)
{