PluginProbe
CSS & JavaScript Toolbox / 10
CSS & JavaScript Toolbox v10
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 +1 -4 1210 View file →
@@ -218,11 +218,9 @@
218 218 $this->model->update( $blockData, $calculatePinPoint );
219 219 $this->model->save();
220 220
221 221 // Send the changes properties back to client.
222 - $updatedBlockData = $this->model->getBlock($id, null, array('*'), ARRAY_A);
223 -
224 - foreach ( $updatedBlockData as $property => $value )
222 + foreach ( $postedblockPartialData as $property => $value )
225 223 {
226 224 $response[ $id ][ $property ][ 'value' ] = $value;
227 225 }
228 226
@@ -235,9 +233,8 @@
235 233
236 234 // Save changes.
237 235 $this->model->save();
238 236
239 - // Return
240 237 // Set response.
241 238 $this->response = $response;
242 239
243 240 }