Ticket #1249 (closed enhancement: fixed)

Opened 3 years ago

Last modified 3 years ago

Exclude script tag from extraction for i18n

Reported by: rgrp Owned by: pudo
Priority: major Milestone: ckan-v1.5
Component: ckan Keywords:
Cc: Repository: ckan
Theme: none

Description

Currently have this script section put in for i18n. It shouldn't be.

<script type="text/javascript">
//<![CDATA[
(function($){
    $.fn.ajaxCreateSlug = function(name, url) {
        var title = this;
        var updater = {
            init: function(title, name) {
                // Add a new element where the validity of the package name can be displayed
                this.name_field = name;
                this.title_field = title;
                this.name_field.parent().append('<div id="package_name_valid_msg"></div>');
                this.title_field.blur(this.title_change_handler())
                this.title_field.keyup(this.title_change_handler())
                this.name_field.keyup(this.name_change_handler());
                this.name_field.blur(this.name_blur_handler());
                this.url = url;
            },
....

Change History

comment:1 Changed 3 years ago by pudo

  • Status changed from new to closed
  • Resolution set to fixed

fixed in cset:0398243111d4

Note: See TracTickets for help on using tickets.