openils.Util.removeCSSClass(dojo.byId('vl-menu-queue-select'), 'toolbar_selected');
openils.Util.removeCSSClass(dojo.byId('vl-menu-attr-editor'), 'toolbar_selected');
openils.Util.removeCSSClass(dojo.byId('vl-menu-profile-editor'), 'toolbar_selected');
+ openils.Util.removeCSSClass(dojo.byId('vl-menu-match-set-editor'), 'toolbar_selected');
+
+ if(dojo.byId('vl-match-set-iframe'))
+ dojo.byId('vl-match-set-editor-div').removeChild(dojo.byId('vl-match-set-iframe'));
switch(id) {
case 'vl-marc-export-div':
case 'vl-item-attr-editor-div':
openils.Util.addCSSClass(dojo.byId('vl-menu-import-item-attr-editor'), 'toolbar_selected');
break;
+ case 'vl-match-set-editor-div':
+ openils.Util.addCSSClass(dojo.byId('vl-menu-match-set-editor'), 'toolbar_selected');
+ break;
}
}
vlFleshQueueSelect(vlQueueSelectQueueList, vlQueueSelectType.getValue());
}
+function vlShowMatchSetEditor() {
+ displayGlobalDiv('vl-match-set-editor-div');
+ dojo.byId('vl-match-set-editor-div').appendChild(
+ dojo.create('iframe', {
+ id : 'vl-match-set-iframe',
+ src : oilsBasePath + '/eg/conify/global/vandelay/match_set',
+ style : 'width:100%; height:500px; border:none; margin:0px;'
+ })
+ );
+}
+
function vlFetchQueueFromForm() {
currentType = vlQueueSelectType.getValue();
currentQueueId = vlQueueSelectQueueList.getValue();
var parsed_xpath = xpathParser.parse(this.store.getValue(row, 'xpath'));
dijit.byId('attr-editor-tags').attr('value', parsed_xpath.tags);
dijit.byId('attr-editor-subfields').attr('value', parsed_xpath.subfields);
- dijit.byId('attr-editor-identifier').attr('value', this.store.getValue(row, 'ident'));
dijit.byId('attr-editor-xpath').attr('value', this.store.getValue(row, 'xpath'));
dijit.byId('attr-editor-remove').attr('value', this.store.getValue(row, 'remove'));
<!ENTITY vandelay.dest.match.point "Destination Match Point">
<!ENTITY vandelay.display "Display">
<!ENTITY vandelay.done "Done">
-<!ENTITY vandelay.edit.attributes "Edit Attributes">
-<!ENTITY vandelay.edit.attrs "Edit Attributes">
+<!ENTITY vandelay.edit.attributes "Record Display Attributes">
+<!ENTITY vandelay.edit.attrs "Record Display Attributes">
<!ENTITY vandelay.edit.profiles "Edit Merge / Overlay Profiles">
-<!ENTITY vandelay.edit.import_item_attrs "Edit Import Item Attributes">
+<!ENTITY vandelay.edit.match_set "Record Match Sets">
+<!ENTITY vandelay.edit.import_item_attrs "Import Item Attributes">
<!ENTITY vandelay.false "False">
<!ENTITY vandelay.file.to.upload "File to Upload:">
<!ENTITY vandelay.for.example "Example">
</td>
</tr>
<tr>
- <td><label for="ident">&vandelay.id.field;: </label></td>
- <td>
- <select dojoType="dijit.form.FilteringSelect" name="ident" id="attr-editor-identifier">
- <option value='f' selected='selected'>&vandelay.false;</option>
- <option value='t'>&vandelay.true;</option>
- </select>
- </td>
- </tr>
- <tr>
<td><label for="attr-editor-xpath">&vandelay.xpath.advanced;: </label></td>
<td><input dojoType="dijit.form.TextBox" id="attr-editor-xpath" name="xpath"></input></td>
<th field='description' width='auto'>&vandelay.descrip;</th>
<th field='tag' get='attrGridGetTag'>&vandelay.tag;</th>
<th field='subfield' get='attrGridGetSubfield'>&vandelay.subfield;</th>
- <th field='ident'>&vandelay.identifier;</th>
<th field='xpath' width='auto'>&vandelay.xpath;</th>
<th field='remove' width='auto'>&vandelay.remove;</th>
</tr>
onclick="vlShowAttrEditor();" showLabel="true">&vandelay.edit.attributes;</div>
<div dojoType="dijit.form.Button" iconClass="dijitEditorIcon dijitEditorIconCopy" id='vl-menu-profile-editor'
onclick="vlShowProfileEditor();" showLabel="true">&vandelay.edit.profiles;</div>
+ <div dojoType="dijit.form.Button" iconClass="dijitEditorIcon dijitEditorIconCopy" id='vl-menu-match-set-editor'
+ onclick="vlShowMatchSetEditor();" showLabel="true">&vandelay.edit.match_set;</div>
<div dojoType="dijit.form.Button" iconClass="dijitEditorIcon dijitEditorIconCopy" id='vl-menu-import-item-attr-editor'
onclick="vlShowImportItemAttrEditor();" showLabel="true">&vandelay.edit.import_item_attrs;</div>
</div>