• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#objective-cqt誰得windowscocoapythonphprubygameguibathyscaphec翻訳omegat計画中(planning stage)frameworktwittertestdomvb.netdirectxbtronarduinopreviewerゲームエンジン

allura


Commit MetaInfo

Revisiónf8da0843530f582e93843e619f4f8925bceddee3 (tree)
Tiempo2012-07-08 00:28:46
AutorYuriy <yuriyarhipovua@yand...>
CommiterYuriy

Log Message

[#1937] ticket:106 fixed

Cambiar Resumen

Diferencia incremental

--- a/Allura/allura/lib/widgets/discuss.py
+++ b/Allura/allura/lib/widgets/discuss.py
@@ -307,10 +307,10 @@ class Post(HierWidget):
307307 var popup = $('.shortlink_popup', post);
308308 $('.shortlink', post).click(function(evt){
309309 evt.preventDefault();
310- popup.lightbox_me();
311- $('input', popup).select();
312- $('input', popup).click(function() {
313- this.select();
310+ popup.lightbox_me({
311+ onLoad: function() {
312+ $('input', popup).select();
313+ }
314314 });
315315 });
316316 $('.close', popup).bind('click', function() {