Skip to content
Permalink
Browse files

Namespace this class

  • Loading branch information...
philwareham committed Mar 14, 2019
1 parent dc32977 commit 5fa171d2346549afa4bc2d9ecd22853395e3cc4b
Showing with 2 additions and 2 deletions.
  1. +1 −1 textpattern/setup/index.php
  2. +1 −1 textpattern/textpattern.js
@@ -572,7 +572,7 @@ function setup_config_contents()
strong(gTxt('before_you_proceed')).' '.
gTxt('create_config', array('{configpath}' => $config_path.DS))
).
graf('<a class="txp-button config-download">'.gTxt('download').'</a>').
graf('<a class="txp-button txp-config-download">'.gTxt('download').'</a>').
n.'<textarea class="code" name="config" cols="'.INPUT_LARGE.'" rows="'.TEXTAREA_HEIGHT_REGULAR.'" dir="ltr" readonly>'.
setup_makeConfig($cfg, true).
n.'</textarea>'.
@@ -1995,7 +1995,7 @@ textpattern.Route.add('setup', function () {
$('#setup_public_theme').prop('required',true);

if ($('textarea[name=config]').length) {
$('.config-download').on('click', function (e) {
$('.txp-config-download').on('click', function (e) {
var text = $('textarea[name=config]').val();
var text = 'data:text/plain;charset=utf-8,' + encodeURIComponent(text);
var el = e.currentTarget;

0 comments on commit 5fa171d

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.