# HG changeset patch # User Alain Mazy # Date 1716453979 -7200 # Node ID 63a392fbf14e466e592204426f72a2545b54b61b # Parent 61771e7c44a8b44d3554fb0fa6fe3b294dab77b0 removed patch OHIF for https://github.com/OHIF/Viewers/issues/3928 diff -r 61771e7c44a8 -r 63a392fbf14e NEWS --- a/NEWS Thu May 23 10:45:26 2024 +0200 +++ b/NEWS Thu May 23 10:46:19 2024 +0200 @@ -2,8 +2,6 @@ =============================== * Updated OHIF to 3.9.0-beta.15 (that is actually a beta 3.8.1) -* Patching OHIF code for https://github.com/OHIF/Viewers/issues/3928 - to allow using token args in URL * Enabled support for segmentation and microscopy modes Note that the microscopy mode is not stable yet in OHIF! diff -r 61771e7c44a8 -r 63a392fbf14e Sources/Plugin.cpp --- a/Sources/Plugin.cpp Thu May 23 10:45:26 2024 +0200 +++ b/Sources/Plugin.cpp Thu May 23 10:46:19 2024 +0200 @@ -266,13 +266,6 @@ std::unique_ptr item(new std::string); ReadStaticAsset(*item, path); - // patch OHIF for https://github.com/OHIF/Viewers/issues/3928 - // TODO - Remove after official release OHIF 3.8.0 - if (Orthanc::Toolbox::StartsWith(path, "app.bundle.")) - { - boost::replace_all(*item, "window.location.origin + location.pathname + location.search", "window.location.origin + window.location.pathname + location.search"); - } - OrthancPluginAnswerBuffer(context, output, item->c_str(), item->size(), mime.c_str()); {