'Inject custom JS to render new read-rows'

@staticmethod
def inject_script():

    appname = current.request.application
    scripts = current.response.s3.scripts
    script = ('/%s/static/themes/CRMT/js/inlinecomponent.layout.js' % appname)
    if (script not in scripts):
        scripts.append(script)
    return
