diff --git a/module/story/config.php b/module/story/config.php index da238b0291..d77f07bf8a 100644 --- a/module/story/config.php +++ b/module/story/config.php @@ -102,7 +102,7 @@ $config->story->datatable->fieldList['estimate']['required'] = 'no'; $config->story->datatable->fieldList['stage']['title'] = 'stageAB'; $config->story->datatable->fieldList['stage']['fixed'] = 'no'; -$config->story->datatable->fieldList['stage']['width'] = '70'; +$config->story->datatable->fieldList['stage']['width'] = '80'; $config->story->datatable->fieldList['stage']['required'] = 'no'; $config->story->datatable->fieldList['openedBy']['title'] = 'openedByAB'; diff --git a/www/js/my.full.js b/www/js/my.full.js index 90204584a3..d8b48221f6 100644 --- a/www/js/my.full.js +++ b/www/js/my.full.js @@ -731,18 +731,21 @@ function convertURL() { if($('.article-content, .article>.content').size() == 0) return; - var aTags = new Array(); - var content = $('.article-content, .article>.content').html(); - $('.article-content, .article>.content').find('a').each(function(i) + $('.article-content, .article>.content').each(function() { - aTags[i] = $(this).prop('outerHTML'); - content = content.replace(aTags[i], ''); - }); + var aTags = new Array(); + var content = $(this).html(); + $(this).find('a').each(function(i) + { + aTags[i] = $(this).prop('outerHTML'); + content = content.replace(aTags[i], ''); + }); - var regexp = /(http:\/\/|https:\/\/)((\w|=|\?|\.|\/|\&|-|%|;)+)/g; - content = content.replace(regexp, function($url){ return "" + $url + "";}); - for(i in aTags) content = content.replace('', aTags[i]); - $('.article-content, .article>.content').html(content); + var regexp = /(http:\/\/|https:\/\/)((\w|=|\?|\.|\/|\&|-|%|;)+)/g; + content = content.replace(regexp, function($url){ return "" + $url + "";}); + for(i in aTags) content = content.replace('', aTags[i]); + $(this).html(content); + }); } /* Ping the server every some minutes to keep the session. */