Fix infieldLabels on new aspect box
This commit is contained in:
parent
48cfa49582
commit
75d514c448
3 changed files with 16 additions and 12 deletions
|
|
@ -11,7 +11,6 @@ javascripts:
|
||||||
- public/javascripts/vendor/jquery152.min.js
|
- public/javascripts/vendor/jquery152.min.js
|
||||||
main:
|
main:
|
||||||
- public/javascripts/rails.js
|
- public/javascripts/rails.js
|
||||||
- public/javascripts/vendor/jquery.infieldlabel.js
|
|
||||||
- public/javascripts/vendor/jquery.tipsy.js
|
- public/javascripts/vendor/jquery.tipsy.js
|
||||||
- public/javascripts/vendor/jquery.hotkeys.js
|
- public/javascripts/vendor/jquery.hotkeys.js
|
||||||
- public/javascripts/vendor/jquery.autoresize.min.js
|
- public/javascripts/vendor/jquery.autoresize.min.js
|
||||||
|
|
@ -22,6 +21,7 @@ javascripts:
|
||||||
- public/javascripts/vendor/Mustache.js
|
- public/javascripts/vendor/Mustache.js
|
||||||
- public/javascripts/vendor/charCount.js
|
- public/javascripts/vendor/charCount.js
|
||||||
- public/javascripts/jquery.autocomplete-custom.js
|
- public/javascripts/jquery.autocomplete-custom.js
|
||||||
|
- public/javascripts/jquery.infieldlabel-custom.js
|
||||||
- public/javascripts/fileuploader-custom.js
|
- public/javascripts/fileuploader-custom.js
|
||||||
- public/javascripts/keycodes.js
|
- public/javascripts/keycodes.js
|
||||||
- public/javascripts/diaspora.js
|
- public/javascripts/diaspora.js
|
||||||
|
|
|
||||||
|
|
@ -134,7 +134,7 @@
|
||||||
// This fucking for_attr thing is some seriously dumb shit.
|
// This fucking for_attr thing is some seriously dumb shit.
|
||||||
//
|
//
|
||||||
// It must be dealt with
|
// It must be dealt with
|
||||||
$field = $(
|
$field = $(this).siblings(
|
||||||
"input#" + for_attr + "[type='text']," +
|
"input#" + for_attr + "[type='text']," +
|
||||||
"input#" + for_attr + "[type='search']," +
|
"input#" + for_attr + "[type='search']," +
|
||||||
"input#" + for_attr + "[type='tel']," +
|
"input#" + for_attr + "[type='tel']," +
|
||||||
|
|
@ -15,6 +15,10 @@ var View = {
|
||||||
|
|
||||||
/* In field labels */
|
/* In field labels */
|
||||||
$("label").inFieldLabels();
|
$("label").inFieldLabels();
|
||||||
|
$(document).bind('afterReveal.facebox', function() {
|
||||||
|
jQuery("#facebox label").inFieldLabels();
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
/* Showing debug messages */
|
/* Showing debug messages */
|
||||||
$(this.debug.selector)
|
$(this.debug.selector)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue