Skip to content

Commit

Permalink
jQuery 1.6.2 fix. .prop instead of .attr
Browse files Browse the repository at this point in the history
Hey guys, its a public API. Y U CHANGE?
  • Loading branch information
kaecyra committed Sep 16, 2011
1 parent 9d23d84 commit 971e282
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion applications/dashboard/views/authentication/choose.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@
$('select#Form_Garden-dot-Authentication-dot-Chooser').bind('change',function(e){
var Chooser = $(e.target);
var SliceElement = $('div.AuthenticationConfigure');
var SliceObj = SliceElement.attr('Slice');
var SliceObj = SliceElement.prop('Slice');
console.log(SliceObj);

var ChooserVal = Chooser.val();
var ChosenURL = (ConfigureList[ChooserVal]) ? ConfigureList[ChooserVal] : ((ConfigureList[ChooserVal] != 'undefined') ? '/dashboard/authentication/configure/'+ChooserVal : false);
Expand Down

0 comments on commit 971e282

Please sign in to comment.