Lines 154-160
function cloneItemBlock(index, unique_item_fields, callback) {
Link Here
|
154 |
} |
154 |
} |
155 |
var dont_copy_fields = new Array(); |
155 |
var dont_copy_fields = new Array(); |
156 |
if(unique_item_fields) { |
156 |
if(unique_item_fields) { |
157 |
var dont_copy_fields = unique_item_fields.split(' '); |
157 |
var dont_copy_fields = unique_item_fields.split('|'); |
158 |
for(i in dont_copy_fields) { |
158 |
for(i in dont_copy_fields) { |
159 |
dont_copy_fields[i] = "items." + dont_copy_fields[i]; |
159 |
dont_copy_fields[i] = "items." + dont_copy_fields[i]; |
160 |
} |
160 |
} |
Lines 247-253
function check_additem(unique_item_fields) {
Link Here
|
247 |
var data = new Object(); |
247 |
var data = new Object(); |
248 |
data['field'] = new Array(); |
248 |
data['field'] = new Array(); |
249 |
data['value'] = new Array(); |
249 |
data['value'] = new Array(); |
250 |
var array_fields = unique_item_fields.split(' '); |
250 |
var array_fields = unique_item_fields.split('|'); |
251 |
$(".order_error").empty(); // Clear error div |
251 |
$(".order_error").empty(); // Clear error div |
252 |
|
252 |
|
253 |
// Check if a value is duplicated in form |
253 |
// Check if a value is duplicated in form |
254 |
- |
|
|