PluginProbe
CSS & JavaScript Toolbox / 11.5
CSS & JavaScript Toolbox v11.5
trunk 0.3 0.8 10 10.1 11 11.2 11.3 11.4 11.5 11.6 11.7 11.8 11.9 11.9.1 12 12.0 12.0.1 12.0.3 12.0.4 12.0.5 12.0.6 12.0.7 6.0 6.0.11 All 60 releases
← All changes | controllers/blocks-ajax.php +4 -1 1011.5 View file →
@@ -218,9 +218,11 @@
218 218 $this->model->update( $blockData, $calculatePinPoint );
219 219 $this->model->save();
220 220
221 221 // Send the changes properties back to client.
222 - foreach ( $postedblockPartialData as $property => $value )
222 + $updatedBlockData = $this->model->getBlock($id, null, array('*'), ARRAY_A);
223 +
224 + foreach ( $updatedBlockData as $property => $value )
223 225 {
224 226 $response[ $id ][ $property ][ 'value' ] = $value;
225 227 }
226 228
@@ -233,8 +235,9 @@
233 235
234 236 // Save changes.
235 237 $this->model->save();
236 238
239 + // Return
237 240 // Set response.
238 241 $this->response = $response;
239 242
240 243 }