shortener bug
This commit is contained in:
parent
7d4139df13
commit
d83677add4
|
@ -387,7 +387,7 @@ class QvitterAction extends ApiAction
|
||||||
<script type="text/javascript" src="<?php print $qvitterpath; ?>js/lib/jquery.jWindowCrop.js"></script>
|
<script type="text/javascript" src="<?php print $qvitterpath; ?>js/lib/jquery.jWindowCrop.js"></script>
|
||||||
<script type="text/javascript" src="<?php print $qvitterpath; ?>js/lib/load-image.min.js"></script>
|
<script type="text/javascript" src="<?php print $qvitterpath; ?>js/lib/load-image.min.js"></script>
|
||||||
<script type="text/javascript" src="<?php print $qvitterpath; ?>js/dom-functions.js?v=26"></script>
|
<script type="text/javascript" src="<?php print $qvitterpath; ?>js/dom-functions.js?v=26"></script>
|
||||||
<script type="text/javascript" src="<?php print $qvitterpath; ?>js/misc-functions.js?v=20"></script>
|
<script type="text/javascript" src="<?php print $qvitterpath; ?>js/misc-functions.js?v=21"></script>
|
||||||
<script type="text/javascript" src="<?php print $qvitterpath; ?>js/ajax-functions.js?v=12"></script>
|
<script type="text/javascript" src="<?php print $qvitterpath; ?>js/ajax-functions.js?v=12"></script>
|
||||||
<script type="text/javascript" src="<?php print $qvitterpath; ?>js/lan.js?v=25"></script>
|
<script type="text/javascript" src="<?php print $qvitterpath; ?>js/lan.js?v=25"></script>
|
||||||
<script type="text/javascript" src="<?php print $qvitterpath; ?>js/qvitter.js?v=23"></script>
|
<script type="text/javascript" src="<?php print $qvitterpath; ?>js/qvitter.js?v=23"></script>
|
||||||
|
|
|
@ -809,7 +809,7 @@ function shortenUrlsInBox(shortenButton) {
|
||||||
|
|
||||||
console.log(data.url);
|
console.log(data.url);
|
||||||
|
|
||||||
shortenButton.parent().parent().siblings('.queet-box-syntax').html(shortenButton.parent().parent().siblings('.queet-box-syntax').html().replace($('<div/>').text(decodeURIComponent(data.url.url)).html(), data.shorturl));
|
shortenButton.parent().parent().siblings('.queet-box-syntax').html(shortenButton.parent().parent().siblings('.queet-box-syntax').html().replace($('<div/>').text(data.url.url).html(), data.shorturl));
|
||||||
shortenButton.parent().parent().siblings('.queet-box-syntax').trigger('keyup');
|
shortenButton.parent().parent().siblings('.queet-box-syntax').trigger('keyup');
|
||||||
shortenButton.addClass('disabled'); // make sure the button is disabled right after
|
shortenButton.addClass('disabled'); // make sure the button is disabled right after
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user