• R/O
  • HTTP
  • SSH
  • HTTPS

提交

標籤
無標籤

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

allura


Commit MetaInfo

修訂f8da0843530f582e93843e619f4f8925bceddee3 (tree)
時間2012-07-08 00:28:46
作者Yuriy <yuriyarhipovua@yand...>
CommiterYuriy

Log Message

[#1937] ticket:106 fixed

Change Summary

差異

--- 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() {