@@ -520,7 +520,7 @@ define( [
520
520
// DEPRECATED
521
521
reloadPage : false ,
522
522
523
- reloadContent : false ,
523
+ reload : false ,
524
524
525
525
// By default we rely on the role defined by the @data -role attribute.
526
526
role : undefined ,
@@ -550,7 +550,7 @@ define( [
550
550
fileUrl , dataUrl , pblEvent , triggerData ;
551
551
552
552
// DEPRECATED reloadPage
553
- settings . reloadContent = settings . reloadPage ;
553
+ settings . reload = settings . reloadPage ;
554
554
555
555
// If the caller provided data, and we're using "get" request,
556
556
// append the data to the URL.
@@ -559,9 +559,9 @@ define( [
559
559
settings . data = undefined ;
560
560
}
561
561
562
- // If the caller is using a "post" request, reloadContent must be true
562
+ // If the caller is using a "post" request, reload must be true
563
563
if ( settings . data && settings . type === "post" ) {
564
- settings . reloadContent = true ;
564
+ settings . reload = true ;
565
565
}
566
566
567
567
// The absolute version of the URL minus any dialog/subcontent params.
@@ -594,7 +594,7 @@ define( [
594
594
// and the caller did not indicate that we should force a
595
595
// reload of the file, we are done. Resolve the deferrred so that
596
596
// users can bind to .done on the promise
597
- if ( content . length && ! settings . reloadContent ) {
597
+ if ( content . length && ! settings . reload ) {
598
598
this . _enhance ( content , settings . role ) ;
599
599
deferred . resolve ( absUrl , settings , content ) ;
600
600
0 commit comments