Theme Customizer: Separate message url from preview url in customizer JS Previewer and PreviewFrame objects. fixes #20892.

git-svn-id: https://develop.svn.wordpress.org/trunk@21033 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Daryl Koopersmith
2012-06-08 22:59:48 +00:00
parent 1f86787e1f
commit 351ecd928f
2 changed files with 30 additions and 32 deletions
+4 -1
View File
@@ -192,8 +192,11 @@ if ( typeof wp === 'undefined' )
},
setter: function( callback ) {
var from = this.get();
this._setter = callback;
this.set( this.get() );
// Temporarily clear value so setter can decide if it's valid.
this._value = null;
this.set( from );
return this;
},