scratch – Diff between revs 74 and 76
?pathlinks?
Rev 74 | Rev 76 | |||
---|---|---|---|---|
Line 225... | Line 225... | |||
225 | data: formData, |
225 | data: formData, |
|
226 | // cache: false // FF |
226 | // cache: false // FF |
|
227 | processData: false, |
227 | processData: false, |
|
228 | contentType: false |
228 | contentType: false |
|
229 | }).done((data) => { |
229 | }).done((data) => { |
|
230 | $('#URL').val(data); |
230 | $('#URL') |
|
- | 231 | .val( |
||
- | 232 | location.protocol |
||
- | 233 | .concat("//") |
||
- | 234 | .concat(window.location.hostname) |
||
- | 235 | .concat("/") |
||
- | 236 | .concat(data) |
||
- | 237 | ); |
||
231 | $('#trumbowyg').trumbowyg('enable'); |
238 | $('#trumbowyg').trumbowyg('enable'); |
|
232 | }).fail(() => { |
239 | }).fail(() => { |
|
233 | $('#trumbowyg').trumbowyg('enable'); |
240 | $('#trumbowyg').trumbowyg('enable'); |
|
234 | }); |
241 | }); |
|
235 | }); |
242 | }); |