From: dbs Date: Thu, 2 Sep 2010 03:40:52 +0000 (+0000) Subject: Backport rtype parameters for invoking MARC editor X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=4bba478e5188c5407a1213343333cf07101a3ca2;p=working%2FEvergreen.git Backport rtype parameters for invoking MARC editor This will result in no different behaviour than before, but adding the rtype parameter won't hurt, either. git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@17440 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/web/opac/skin/craftsman/js/rdetail.js b/Open-ILS/web/opac/skin/craftsman/js/rdetail.js index b6272895a4..d7da5c6b27 100644 --- a/Open-ILS/web/opac/skin/craftsman/js/rdetail.js +++ b/Open-ILS/web/opac/skin/craftsman/js/rdetail.js @@ -238,7 +238,7 @@ function OpenMarcEditWindow(pcrud, rec) { dojo.require('openils.PermaCrud'); win.xulG = { - "record": {"marc": rec.marc()}, + "record": {"marc": rec.marc(), "rtype": "sre"}, "save": { "label": opac_strings.SAVE_MFHD_LABEL, "func": function(xmlString) { diff --git a/Open-ILS/web/opac/skin/default/js/rdetail.js b/Open-ILS/web/opac/skin/default/js/rdetail.js index 1221a26f8a..dc5cac3619 100644 --- a/Open-ILS/web/opac/skin/default/js/rdetail.js +++ b/Open-ILS/web/opac/skin/default/js/rdetail.js @@ -241,7 +241,7 @@ function OpenMarcEditWindow(pcrud, rec) { dojo.require('openils.PermaCrud'); win.xulG = { - "record": {"marc": rec.marc()}, + "record": {"marc": rec.marc(), "rtype": "sre"}, "save": { "label": opac_strings.SAVE_MFHD_LABEL, "func": function(xmlString) {