• 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

修訂7de9cfc0581ac596a105eabc245817010e40f354 (tree)
時間2012-07-09 23:31:27
作者Yuriy <yuriyarhipovua@yand...>
CommiterDave Brondsema

Log Message

[#1937] ticket:106 fixed link textbox selecting

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