Backport rtype parameters for invoking MARC editor
authordbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 2 Sep 2010 03:40:52 +0000 (03:40 +0000)
committerdbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 2 Sep 2010 03:40:52 +0000 (03:40 +0000)
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

Open-ILS/web/opac/skin/craftsman/js/rdetail.js
Open-ILS/web/opac/skin/default/js/rdetail.js

index b627289..d7da5c6 100644 (file)
@@ -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) {
index 1221a26..dc5cac3 100644 (file)
@@ -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) {