Skip to content

Commit

Permalink
Merge pull request #1060 from sparc-request/ml-dashboard_archive_refr…
Browse files Browse the repository at this point in the history
…esh_fix

ml-dashboard_archive_refresh_fix
  • Loading branch information
Stuart-Johnson committed Aug 16, 2017
2 parents 77c23f1 + 1d40d96 commit 76eb403
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/dashboard/protocols/archive.js.coffee
Expand Up @@ -17,4 +17,4 @@
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
# TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
$('#summary-panel').replaceWith("<%= j render 'summary', protocol: @protocol, protocol_type: @protocol_type, permission_to_edit: @permission_to_edit %>")
$('#summary-panel').replaceWith("<%= j render 'summary', protocol: @protocol, protocol_type: @protocol_type, permission_to_edit: @permission_to_edit || @admin %>")

0 comments on commit 76eb403

Please sign in to comment.