1(function(){this.subscribe('block/setting/update',function(data){var block_info=this.getState().blocks[data.designer_id][data.block_id] 2var send_data={setting:JSON.stringify(block_info.setting),type:block_info.type} 3var blocks=this.getState().blocks 4$.ajax({url:'index.php?route=extension/d_visual_designer/designer/updateSetting',type:'post',dataType:'json',data:send_data,context:this,success:function(json){if(json['success']){this.dispatch('block/setting/update/begin') 5var blocks=this.getState().blocks 6blocks[data.designer_id][data.block_id].setting=_.extend({},json.setting) 7this.updateState({blocks:blocks}) 8this.dispatch('history/backup',{block_id:data.block_id,designer_id:data.designer_id,fast:false}) 9if(this.getState().config.save_change){this.dispatch('content/save',{designer_id:data.designer_id});}}},complete:function(){setTimeout(function(){this.dispatch('block/setting/update/end')}.bind(this),2000);}})})}.bind(d_visual_designer))()
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.