[PE mobile] Debug inserting link.
This commit is contained in:
parent
5f1958cc0e
commit
e8f6a536f8
|
@ -132,8 +132,11 @@ define([
|
||||||
$('#add-link-number')[(_linkType==c_oHyperlinkType.WebLink) ? 'hide' : 'show']();
|
$('#add-link-number')[(_linkType==c_oHyperlinkType.WebLink) ? 'hide' : 'show']();
|
||||||
|
|
||||||
if (_linkType==c_oHyperlinkType.WebLink) {
|
if (_linkType==c_oHyperlinkType.WebLink) {
|
||||||
|
$('#add-link-url input[type=url]').single('input', _.bind(function(e) {
|
||||||
|
$('#add-link-insert').toggleClass('disabled', _.isEmpty($('#add-link-url input').val()));
|
||||||
|
}, this));
|
||||||
_.delay(function () {
|
_.delay(function () {
|
||||||
$('.page[data-page=addlink-link] input[type=url]').focus();
|
$('#add-link-url input[type=url]').focus();
|
||||||
}, 1000);
|
}, 1000);
|
||||||
} else {
|
} else {
|
||||||
var slidename = '';
|
var slidename = '';
|
||||||
|
|
Loading…
Reference in a new issue