1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-20 05:11:42 +02:00

Fixes #140: Sitelinks: Inline editing broken

This commit is contained in:
SecretR
2013-03-08 16:00:00 +02:00
parent 713e401e68
commit 30d922cadf
3 changed files with 23 additions and 15 deletions

View File

@@ -4547,7 +4547,11 @@ class e_admin_ui extends e_admin_controller_ui
$_POST[$_name] = $_value; // set current field only
// generic handler - same as regular edit form submit
$res = $this->_manageSubmit('beforeUpdate', 'afterUpdate', 'onUpdateError', 'edit');
$this->convertToData($_POST);
$model->setPostedData($_POST, null, false, false)
->setParam('validateAvailable', true) // new param to control validate of available data only, reset on validate event
->update(true);
//$res = $this->_manageSubmit('beforeUpdate', 'afterUpdate', 'onUpdateError', 'edit');
if($model->hasError())
{